ʹÓÃKeil Cµ÷ÊÔijϵͳʱ»ýÀÛµÄһЩ¾Ñé
ʹÓÃKeil Cµ÷ÊÔijϵͳʱ»ýÀÛµÄһЩ¾Ñé
1¡¢ÔÚWindows2000ÏÂÃ棬ÎÒÃÇ¿ÉÒÔ°Ñ×ÖÌåÉèÖÃΪCourier£¬ÕâÑù¾Í¿ÉÒÔÏÔʾÕý³£¡£
2¡¢µ±Ê¹ÓÃÓÐƬÍâÄÚ´æµÄMCU£¨ÈçW77E58£¬ËüÓÐ1KƬÍâÄڴ棩µÄʱºò£¬¿Ï¶¨ÒªÉèÖñê־룬²¢ÇÒ±àÒ뷽ʽҪѡÔñ´óģʽ£¬·ñÔò»á³ö´í¡£
3¡¢µ±Ê¹ÓÃKeil C¸ú×Ù³ÌÐòÔËÐÐ״̬µÄʱºò£¬Òª°ÑÒýÆðWarningµÄÓï¾äÆÁ±Î£¬·ñÔòÓпÉÄܸú×ÙÓï¾äµÄʱºò»á³ö´í¡£
4¡¢ÔÚµ÷ÓÃÊý×éµÄʱºò£¬Keil CÊÇÊ×ÏÈ°ÑÊý×éLoad½øÄÚ´æ¡£Èç¹ûÒªÔÚCÖÐʹÓó¤Êý×éµÄʱºò£¬ÎÒÃÇ¿ÉÒÔʹÓÃcode¹Ø¼ü×Ö£¬ÕâÑù¾ÍʵÏÖÁË»ã±àµÄDBµÄ¹¦ÄÜ£¬Keil CÊDz»»á°Ñ±êÖ¾codeµÄÊý×éLoadÈëÄÚ´æµÄ£¬Ëü»áÖ±½Ó¶ÁÈ¡Rom¡£
5¡¢À¸ß¹Ü½ÅµÄÖ´ÐÐËÙ¶ÈÔ¶Ô¶±È¼ì²é¹Ü½ÅµçƽµÄÒª¿ì¡£µ±±à³ÌÉæ¼°µ½ÓйØͨÐÅ£¬Ê±ÐòÊǺÜÖØÒªµÄ¡£
6¡¢Ôڵȴý¹Ü½Åµçƽ±ä»¯µÄʱºò£¬ÎÒÃÇÐèÒªÉèÖúó¬Ê±´¦Àí£¬·ñÔò³ÌÐò¾Í»áÒòΪһ¸öûÓÐÔ¤¼ÆµÄ´íÎó¶øËÀËø¡£
7¡¢ÄÜÓÃCÓïÑÔʵÏֵĵط½£¬¾¡Á¿²»ÒªÓûã±à£¬ÓÈÆäÔÚËã·¨µÄʵÏÖ£¬Óûã±àÊÇ»ÞɬÄѶ®¡£
8¡¢³ÌÐòµÄ¼¸¸ö²ÎÊýÊý×éËùռƪ·ùºÜ´ó£¬ÆäÖÐÒº¾§±³¾°Êý×é×£¬ÓÐËÄǧ¸öByte£¬Òò¶ø°ÑÄÇЩ³õʼ»¯Êý×鶼·ÅÔÚÁíÍâÒ»¸öCÎļþ£¬ÔÚÖ÷ÎļþʹÓÃʹÓùؼü×Öextern¶¨Ò壬ÕâÑù¾Í²»»á¶ÔÖ÷ÎļþµÄ±àдÔì³É¸ÉÈÅ¡£
9¡¢ËùÓк¯ÊýÖ®¼äµÄÏà¹ØÐÔÔ½µÍÔ½ÓÐÀûÓÚÒÔºó¹¦ÄܵÄÀ©Õ¹¡£
10¡¢6.20°æÔÚ±àÒë´øcode¹Ø¼ü×ÖµÄÊý×éʱ£¬±àÒëͨ¹ýµ«Êǵ¥Æ¬»úÔËÐнá¹ûÊÇ´íÎóµÄ£¬¸ÄÓÃ6.14°æºóÕý³£¡£
------------------------------------------------------------------------------------------------------------------------------------------------------
ÎÊ£ºC51 ÔõÑù½«1¸ö×Ó³ÌÐò¶Î¶¨Î»ÔÚ1¸ö¹Ì¶¨µÄµØַλÖã¿
ÒÔÏÂ2ÎÊÌâ¾ùÒªÓÃC51½â¾ö
1¡£ ÔõÑù½«1¸ö×Ó³ÌÐò¶Î¶¨Î»ÔÚ1¸ö¹Ì¶¨µÄµØַλÖã¿
ÀýÈ罫 INT BCD2HEX£¨INT XX£©¶¨Î»ÔÚ1000H
2¡£ HOWÔÚEEPROM Öй̶¨µÄλÖôæ·Å1×Ö·û´®£¿
ÈçÔÚ200H´¦·Å“COPYRIGHT 2001-11”
´ð£º º¯Êý¶¨Î»Óë±äÁ¿¶¨Î»...
1¡¢º¯Êý¶¨Î»£º
¼ÙÈçÒª°ÑCÔ´Îļþ tools.c Öеĺ¯Êý
int BIN2HEX(int xx)
{
...
}
·ÅÔÚCODE MEMORYµÄ0x1000´¦£¬ÏȱàÒë¸Ã¹¤³Ì£¬È»ºó´ò¿ª¸Ã¹¤³ÌµÄM51Îļþ£¬ÔÚ
* * * C O D E M E M O R Y * * *
ÐÐÏÂÕÒ³öÒª¶¨Î»µÄº¯ÊýµÄÃû³Æ£¬Ó¦¸ÃÐÎÈ磺
CODE xxxxH xxxxH UNIT
Ïà¹ØÎĵµ£º
²Ù×÷ϵͳ£ºlinux debian 4.0£¬ python°æ±¾2.5
s1:°²×°python2.5-dev¡£ÒòΪPython.hÊÇÔÚdev°üÖвÅÓС£
test@debian:~/test_python_c$ aptitude search python2.5-dev
p python2.5-dev - Header files and a static library for Python.
test@debian:~/test_python_c$ sudo aptitude install python2 ......
ÑòÈÞ±»ÊÇÒÔɽÑòÈÞΪԲÄÁÏÕëÖ¯Îï¶ø³ÉµÄ´²ÉÏÓÃÆ·,ÒÀ¾ÝÉ´ÏßÖÖÀà·Ö³É´Ö·Ä֯ƷºÍ¾«·ÄÕëÖ¯ÎïÁ½ÖÖ,ÒÀ¾ÝÔ²ÄÁϱÈÖµ¿ÉÒԷֳɴ¿ÑòÈÞ¼°ÑòÈÞ»ì·ÄÁ½ÖÖ¾¼Ó¹¤¶ø³ÉµÄÉú»îÓÃÆ·£¬¹©Å¯ÐԺ㬸Ç×ÅÊæ̹£¬¾¡ÏԸߵµ¾×½À¡£ ±¾ÎÄÀ´Ô´£º¸ÊËàÇìÑôÌÚ´ïÉÌó ......
1.1= Óë ==
Àý1£º
±¾ÀýÖÐÑ»·Óï¾äµÄ±¾ÒâÊÇÌø¹ýÎļþÖеĿոñ·û¡¢ÖƱí·û¡¢»»Ðзû
while(c=''||c=='\t'||c=='\n')
c=getc(f);
c= ''||c=='\t'||c=='\n'
ËÀÑ»·
Àý2£º
if((filedesc==open(argv[i],0))<0)
error();
ÓÀÔ¶²»»á±»µ÷ÓÃ
1.2 & ºÍ | ²»Í¬ÓÚ&& ºÍ||
1.3 CÓ ......
C³ÌÐòÊÇÓÉÒ»×é»òÊDZäÁ¿»òÊǺ¯ÊýµÄÍⲿ¶ÔÏó×é³ÉµÄ¡£ º¯ÊýÊÇÒ»¸ö×ÔÎÒ°üº¬µÄÍê³ÉÒ»¶¨Ïà¹Ø¹¦ÄܵÄÖ´ÐдúÂë¶Î¡£ÏÂÃæС±àºÍ´ó¼Ò·ÖÏíÏÂCÓïÑÔÖеĺ¯Êý¡£
1. setmemº¯Êý
setmemº¯ÊýµÄ¹¦ÄÜÊÇ´æÖµµ½´æ´¢Çø£¬ÆäÓ÷¨Îª£ºvoid setmem(void *addr, int len, char value);³ÌÐòʵÀýÈçÏ£º
#include <stdio.h& ......
C³ÌÐòÊÇÓÉÒ»×é»òÊDZäÁ¿»òÊǺ¯ÊýµÄÍⲿ¶ÔÏó×é³ÉµÄ¡£ º¯ÊýÊÇÒ»¸ö×ÔÎÒ°üº¬µÄÍê³ÉÒ»¶¨Ïà¹Ø¹¦ÄܵÄÖ´ÐдúÂë¶Î¡£ÏÂÃæС±àºÍ´ó¼Ò·ÖÏíÏÂCÓïÑÔÖеĺ¯Êý¡£
1. sopenº¯Êý
sopenº¯ÊýµÄ¹¦ÄÜÊÇ´ò¿ªÒ»¹²ÏíÎļþ£¬ÆäÓ÷¨Îª£ºint sopen(char *pathname, int access, int shflag, int permiss);³ÌÐòʵÀýÈçÏ£º
#include ......