登录
首页 » 嵌入式系统 » c语言中写二进制数。引用例子: #define Bin(n) LongToBin(0x##n##l) void main(void) {...

c语言中写二进制数。引用例子: #define Bin(n) LongToBin(0x##n##l) void main(void) {...

于 2023-08-22 发布 文件大小:9.69 kB
0 77
下载积分: 2 下载次数: 1

代码说明:

c语言中写二进制数。引用例子: #define Bin(n) LongToBin(0x##n##l) void main(void) { unsigned char c c = Bin(10101001) // c = 0xA9 } -Write binary number in C language. Cited code: #define Bin(n) LongToBin(0x##n##l) void main(void) { unsigned char c c = Bin(10101001) // c=0xA9 }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Protel DXP 常用库元件
    Protel DXP 常用库元件--Common-used library elements for Protel DXP.
    2022-08-09 10:47:12下载
    积分:1
  • MCU voice control car circuit schematics and a design document that voice wants...
    单片机实现语音控制小车电路原理图和1个设计的文档说明,相信对想做语音控制的朋友很有帮助-MCU voice control car circuit schematics and a design document that voice wants to believe that the right to control the helpful friends
    2022-11-23 05:15:02下载
    积分:1
  • zigbee 2009 Professional Edition protocol stack may, at any ram " 128K proce...
    zigbee 2009专业版协议栈可在 任何ram》128K的处理器上实现-zigbee 2009 Professional Edition protocol stack may, at any ram " 128K processors to achieve
    2022-09-19 18:55:02下载
    积分:1
  • 基于s3c2410的SD驱动,带有makefile,可在linux下直接编译
    基于s3c2410的SD驱动,带有makefile,可在linux下直接编译 -s3c2410 based on the SD-driven, with a makefile, linux under the direct translation
    2022-04-07 17:31:15下载
    积分:1
  • statement posted Author : ViewChr procedures use : this procedure will facilitat...
    转贴原作者声明: ViewChr 程序使用说明: 本程序可方便浏览和调用 Hzk16(16*16中文点阵字库)和Asc16(8*16中文点阵字库)内容。 通过滚动条对字库进行浏览,通过文本框可以输入中文字符获取其字体点阵,按"Add chr.asm"键或回车键可以将其字体点阵16进制数据转换成对应的ASCI码追加到CHR.ASM文件中。在显示文字区域双击可切换网格显示开关状态。 如果你要做点阵屏显示中文字体程序,那这个程序将是你的好帮手。 (备注:ASCII码文件CHR.ASM的取字方向同字库Hzk16和Asc16) 如果你有疑问和建议,欢迎与我们联系。 WWW.165V.COM XuHai777@163.com -statement posted Author : ViewChr procedures use : this procedure will facilitate access and use of Hzk16 (16* 16 Chinese character dot-matrix) and Asc16 (8* 16 Lattice Chinese font) content. Scroll through the right font browse through the text box can input Chinese characters access to its font matrix. according to "Add chr.asm" button or the Enter key could be 16-band matrix fonts data into corresponding AS CI CHR.ASM yards to the additional documents. Writing in the region showed double-click toggle grid shows switching state. If you do dot matrix screen display Chinese characters procedures, the procedures that you will be a good
    2022-05-18 19:56:41下载
    积分:1
  • ATMEGA128....液晶显示程序
    ATMEGA128....液晶显示程序-ATMEGA128 .... LCD procedures.
    2022-07-15 01:39:58下载
    积分:1
  • 在freescale的K20单片机上的uc_osIII移植工程
    本工程是基于飞思卡尔(freescale)的k20单片机,通过将uc_osIII移植到K20单片机上,本程序实现了创建一个串口通信任务,使用UART实现单片机和PC的通信,需要的童鞋可以很容易进行修改,移植到自己的单片机上。
    2022-04-01 04:49:30下载
    积分:1
  • 触摸屏ads7843测试程序 喜欢的拿去吧
    触摸屏ads7843测试程序 喜欢的拿去吧-Touchscreen testing procedure ads7843 Take it like
    2022-07-15 05:09:13下载
    积分:1
  • Based on the arm of the i2c
    基于arm的i2c接口实验源码2.18_I2C.rar-Based on the arm of the i2c-source interface Experimental 2.18_I2C.rar
    2022-02-14 00:20:14下载
    积分:1
  • 网页设计HTML编码规范,适合于HTML的初学人员
    网页设计HTML编码规范,适合于HTML的初学人员-Web Design HTML coding specifications, suitable for beginners HTML, staff
    2022-05-25 23:45:32下载
    积分:1
  • 696518资源总数
  • 105678会员总数
  • 22今日下载