搜索资源列表
二进制小数转换
- 二进制小数转为十进制BCD码的汇编程序,结果保留四位并在七段数码管上输出-decimal to binary decimal BCD compilation procedures, and results in four reservations in paragraph 107 digital output tube
LEDoutput
- 计算按钮开关被按的次数。按钮开关K1作为单片机的输入信号,开关K1被按的次数由P1端口所接的8只LED来显示。8只LED可看作8位二进制数,亮的为0,灭的为1。在观察LED计数时可参照书后附录B,将二进制数转换十进制数阅读-Button switch was calculated according to the number. Button switch K1 as a single-chip input signals, switch K1 to be in accordance with
16convertto10
- 1.实现十六进制小数向十进制小数转换。 2.实现二进制小数向十进制小数转换-1. The realization of a small number of hexadecimal to decimal conversion decimal. 2. The realization of a binary to decimal decimal decimal conversion
Keyboard
- 1、开始运行时 指示灯7亮,等待键盘按键 2、按下"F"键进入运行状态,指示灯7闪烁 * 3、在指示灯7闪烁状态,按“0-9”之一键,指示灯3-0 * 显示对应值(以二进制表示,1亮,0暗,例如:110(十进制3) 则指示灯2、1亮,指示灯0灭),按“A-F”之一键,指示灯3-0灭。-1, starts running when the indicator light 7 light, waiting for the keyboard button 2, press the
logical-operation-ASCI
- ASCII及进制转换: 2,8,10,16进制数互转,字符转ASCII,ASCII转字符,字符串和16进制数互转。二进制数的与/或运算。-ASCII and hex conversion: 2,8,10,16 Mutual Convert decimal number, character transfer ASCII, ASCII to switch characters, strings, and 16 hexadecimal numbers Mutual Convert. Binary
adc804
- AD转换+LCD12864显示程序 1 AD转换,二进制转换成十进制 2 显示英文,数字,符号,图片。-AD Converter+ LCD12864 display program 1 AD conversion, the binary converted to decimal 2 shows in English, numbers, symbols, and pictures.
MCS51
- 单片机子程序,有各种数据格式的各种数学运算.(1)按当前流行的以 IBM PC 为主机的开发系统对汇编语言的规定,将原子程序库 的标号和位地址进行了调整,读者不必再进行修改,便可直接使用。 (2)对浮点运算子程序库进行了进一步的测试和优化,对十进制浮点数和二进制浮 点数的相互转换子程序进行了彻底改写,提高了运算精度和可靠性。 (3)新增添了若干个浮点子程序(传送、比较、清零、判零等),使编写数据处理 程序的工作变得更简单直观。-SCM subroutine, there
C8051
- 单片机辅助计算器,数码管显显值计算,单片机端口值16进制计算,二进制转十六进制,十进制转二进制等-Microcomputer Assisted calculator, a digital control value was significant, SCM port value of 16 hexadecimal calculations, the binary switch to hexadecimal, binary, etc. decimal switch
ir_decode
- /--文件夹资料说明 1、backups:里面是我做程序时的一些备份,写程序一定不要忘记备份。 2、ir_1602: “一线工人”的解码程序,可用LCD1602显示二进制及十进制键值。 3、ir_1602_time_edit: 时间显示,并可用红外遥控设置时间的程序 4、ir_12864_bing: 采用LCD12864做显示的解码程序。 5、ir_1602_decode_lihong: 我自己写的解码程序,并例化成头文件形式。 6、ppt_control: 用红外遥控通
123
- 4、利用模块化程序编写一个字母或数制之间的转化程序,5为主模块,调用模块1和模块7 模块1又调用模块2、3、4和6四个模块,其中: 模块2实现小写字母向大写字母的转换 模块3实现大写字母向小写字母的转换 模块4实现二进制数向十六进制数的转换 模块6实现十六进制数向二进制数的转换 模块7实现十六进制数向十进制数的转换 按“q”键退出。 -4, the use of modular programming between a letter or number
FloatBin
- 这FloatBin是软件工程师或单片机工程师实用的小工具,特别是刚入门的朋友。 该软件可以将单精度(single)浮点数或双精度(double)浮点数转换成二进制、十进制、十六进制字节内码表示,也可以将字节内码转换成浮点进行逆变换。不到1M的数据量,精简而不失实用性。全免费,无需注册,解压即能使用。该软件源来自于www.aitek.tw的客服,原本为方便其客户调试其仪器之通讯数据,在经得其客服同意后,分享给大家应用。软件的输入带有容错性检测,在输入二进制数据时必须以1byte的8位长度限
shu-zhi-zhuanhuan
- 巧用移位法进行数制转换:十进制BCD码转二进制数的流程图,二进制数转十进制BCD码的流程图,用的都是移位法!!请欣赏-Using the shift number conversion method: binary decimal BCD code to switch the flow, turn binary decimal BCD code flow chart, the shift method is used! ! Please enjoy! !
ourdev_508935
- 用汇编语言写了一个十进制到二进制,二进制到十进制的转换程序,以缩短数制转换程序运行时间,本程序已编译成库函数和编写了相应的头文件,在GCC中可直接调用,如用其他的AVR单片机C编译器,可将提供的源程序作适当修改后使用。-Written in assembly language of a decimal to binary, binary to decimal conversion program to reduce the number system conversion program is
Assembly-code-conversion-program
- 程序分七个模块编写,不同模块实现不同功能 1为主模块,调用模块5和模块7,模块5又调用模块2、3、4和模块6四个模块,其中: 模块2实现小写字母向大写字母的转换,模块3实现大写字母向小写字母的转换, 模块4实现二进制数向十进制数的转换,模块6实现十六进制数向二进制数的转换,模块7实现十进制数向十六进制数的转换。按“q”键退出 运行程序后,屏幕上要有选择哪种转换的提示菜单 显示结果,十进制数后要加D,十六进制数后要加H表示;二进制数要以二进制形式输出,后面要加B-Program
math
- 数字时钟,设计一个能显示日期、小时、分钟、秒的数字电子钟,并具有整点报时的功能。 由晶振电路产生1HZ标准的信号。分、秒为六十进制计数器,时为二十四进制计数器。 可手动校正时、分时间和日期值。-Digital clock, designed a show date, hours, minutes, seconds digital electronic clock and hourly chime function. 1HZ standard signal generated by th
adc0809
- 程序采用单片机的定时器产生一个时钟,作为ADC0809的CLK时钟。并读取A/D的值,同时转换为十进制,后送到LED显示。单片机C语言编译软件用著名Keil C51编译器,Keil C51是德国Keil Software公司出品的51系列兼容单片机C语言软件开发系统,与汇编相比,C语言在功能上、结构性、可读性、可维护性上有明显的优势,因而易学易用,本次ADC程序就是基于Keil C编写出来的。 总的C语言程序由LED显示模块,进制转换模块,ADC模块,主函数构成。-The program
jinzhizhuanhuan
- 本程序为二进制转换为十进制,以及二进制与其它进制相互转换的代码-This program is binary to decimal, and binary and other binary conversion code
CONVERT
- 将十进制数转换为二进制数和16进制数,可用于单片机初值设定时的计算-convert decimal to binary and hexadecimal ,Can be used to calculate the initial set of single chip microcomputer
51-c
- 该程序把精度计算到了小数点后第七位,并且根据各个位数的不同发送相应的单位。 在二进制和十进制单位的转换过程中,进行了一定的人为的修正-The program of the accuracy of the calculation to the seventh decimal places, and the corresponding unit depending on the transmitting each digit. During the conversion process bina
平均值
- 在单片机内部数据RAM的30H开始的单元中连续存放了某班32学生的高等数学成绩,试编制程序求此班高等数学平均成绩,并将平均成绩的整数部分存放在20H中,小数部分存放在21H中。设成绩为百分制,用无符号二进制数表示,具体分数自行设置。(n the unit starting from 30h of the internal data RAM of the single chip microcomputer, the higher mathematics scores of 32 students