搜索资源列表
红外接收
- 430红外接收 #include #include #include #include #include "xtype.h" #define IRDA (uint8)0x01 //P1_0 uint8 ifg; uint8 index=0,value; uint8 bitValue; uint8 flag; uint8 Buf[1
USB430
- 其中的usb端口通信已经作为一个模块来使用,用户只需用以下函数就可以对usb端口进行方便地读写: unsigned char D12_WriteEndpoint(unsigned char endp, unsigned char len, unsigned char * buf) 此为usb端点输出函数,endp是要进行通信的端点,取值为3(普通端点,最大可一次传输16byte)或5(主端点,最大可一次传输64byte);len为一次输出数据长度;*buf为数据所在位置。 usb端点
MakeFontBmp
- 在嵌入式系统中经常需要使用非FRAME BUF式的OSD字库。本身的OSD芯片一般只呆ASIIC码的部分字库,而对于中文等其他字库均需要自己建立。 大多数OSD处理芯片均带有应用软件来处理自定义的字库,且部分应用软件均带有读入BMP图片的功能,这样能进一步快速处理字库。 比如:TECHWELL公司推出的带OSD的屏驱动芯片,该公司同时提供FontEditor.exe字库制作软件,以用来开发自定义的字库。 而“制作字库BMP图片软件”则用于辅助此类工具,生成所定义的像素大小(如:18p
os
- 1.编写一个文件复制的C语言程序: 分别使用文件的系统调用read(fd, buf, nbytes), write(fd, buf, nbytes)和文件的库函数fread(buf, size, nitems, fp), fwrite(buf, size, nitems, fp),编写一个文件的复制程序。 当上述函数中nbytes, size和nitems都取值为1时(即一次读写一个字节),比较这两种程序的执行效率。当nbytes取1024字节,size取1024字节,且nitems取1
msp430_iic_master
- 在msp430单片机上实现硬件iic和从机发送接收的功能,接收和发送都在中断函数中处理,有发送buf,同时串口可以打印信息。-Msp430 microcontroller hardware iic send received and slave, to receive and send in the interrupt handling function, sending buf and serial can print information.
C
- Phyton Example { _ultohex( lv, buf ) lv = rand() * ( rand() >> 8 ) }-Phyton Example { _ultohex( lv, buf ) lv = rand() * ( rand() >> 8 ) }
avrsample
- AVR对CC1101的操作程序,本程序采用了buf机制,但是实现了9600波特率的透明传输,非常适合做透传1101.并且具有FEC,白化等功能-AVR for CC1101 operating procedures, the program uses a buf mechanism, but to achieve a 9600 baud transparent transmission, very suitable for pass-through 1101. And has FEC, whit
GSM-51
- 基于51单片机和GSM,当GSM收到短信后作出设定的操作,但是这个程序有一个小buf,第一条短信必须由制定的手机发送,后面操作才正常,要是第一条短信由其他手机发送,则再由指定的手机操作则不灵。希望交流交流,一起解决这个小buf!-51 And based on GSM, the operation when set to receive a text message after GSM, but this program has a small buf, the first message to