技术的乐趣在于分享,欢迎多多交流,多多沟通。
全部博文(877)
发布时间:2014-09-01 12:48:15
http://www.programdevelop.com/3829432/The << Unicode GBK referrals >> Tags: encoding, c Gb2312 Provisions: a less than 127 characters meaning is the same as the original, but the two together, it means a character greater than 127 characters in front of a byte (he called th.........【阅读全文】
发布时间:2014-09-01 12:45:51
http://msdn.microsoft.com/en-us/library/aa450989.aspxWideCharToMultiByte (Windows CE 5.0)Windows CE 5.04 out of 17 rated this helpful - Rate this topicSend FeedbackThis function maps a wide-character string to a new character string. The new character stri.........【阅读全文】
发布时间:2014-08-31 20:58:55
http://blog.csdn.net/l_yangliu/article/details/7261759比如汉字“中”的内码是0xd6d0,而他的区位码是5448.这个是怎么转换的呢?区位码不是内码减去0xa0a0吗?怎么算的呢?问题补充:找到答案了:汉字机内码、国标码和区位码三者之间的关系为: 区位码(十进制)的两个字节分别转换为十六进制.........【阅读全文】
发布时间:2014-08-29 17:23:36
//**************************** Read Data *****************************unsigned int ReadData(unsigned int addr,unsigned char *data,unsigned int n){ unsigned char *a, temp;a = (unsigned char*)&addr;SPIBR = 0x11;SPICR2 = 0x0d; //enable cs0.........【阅读全文】
发布时间:2014-08-29 16:35:10
M25P80 的模拟SPI 总线读写程序MCU:MSP430.存储器:M25P80(SPI总线)虽然MSP430本身自带SPI总线模块.但下面的程序并没有用此.而是用普通I/O模拟总线时序进行操作的.详细代码如下:在调试时,犯了超级无敌白痴错误.我竟然把FLASHRAM编程写入只能有1 变0,不能从0 到1,结果在调式.........【阅读全文】