-
645-485
一个电表行业专用的基于645规约的电表485通讯抄表程序,可以进行485总线抄表,645规约测试。程序技术要点就是规约数据传输协议的处理,如向电表发送数据时的控制码和数据长度、发送的数据部分(数据标识 + 密码 + 数据)、应答帧长度、结束标志等通讯协议的处理值得大家学习。(A meter-based industry-specific statute 645 meter 485 meter-reading procedure can be carried out 485 meter, 645 Statute of the test. Procedures for the technical elements of the statute is to deal with data transmission protocols, such as sending data to the meter when the control code and data length, send the data section (data logo+ Password+ Data), response frame length, marks the end of the treatment protocol, etc. everyone deserves to learn.)
- 2021-03-08 09:49:29下载
- 积分:1
-
Date
用整数存储私有成员:年、月和日。为类提供构造函数,能够对各成员进行初始
化,但出现错误的初值时, 成员为2000-1-。也可以不在不提供任何初值的情况
下日期为2000-1-1。另外可以用一个Date 对象进行初始化,成员函数应实现以
下功能:
(1) 对所有成员一次性赋值,也能对某个成员单独赋值,能够一次返回所有成
员的值,也能单独返回某个成员的值
(2) 可以按照mm-dd-yyyy 格式输出日期。
(3) 有成员函数nextDay(),用于将日期增加一天(Integer stored the private Members: year, month, and day. Class provides a constructor to initialize the members, but the wrong initial value, members 2000-1-. The date can also be not the case does not provide any initial value 2000-1-1. Also available on a Date object is initialized, the member function should achieve the following functions: (1) all members of the one-time assignment, can also be a member of a separate assignment, to return once the value of all the members, but also separate return a The members of the value (2) according to the date of mm-dd-yyyy format output. (3) member function nextDay () for additional day date)
- 2012-11-22 11:18:18下载
- 积分:1
-
CClockSTProject
一个模拟电子表的程序,有兴趣的可以研究研究(a simulated electronic watches the proceedings, interested can studies)
- 2007-03-29 11:26:03下载
- 积分:1
-
cyc_pulse
基于stm32的定时器中断应用,可产生相位差为90度的两路周期性脉冲,可用于模拟正交编码器脉冲(Stm32 timer interrupt based applications can generate a phase difference of 90 degrees two periodic pulse, can be used for analog quadrature encoder pulse)
- 2014-08-13 13:54:16下载
- 积分:1
-
G2553P12864(3wires)
pt100高精度测量电路,精度误差小,速度快,arm9 c51均可实现 ,仅供学习 参考(PT100 high precision measurement circuit, precision error is small, fast, C51 ARM9 can be achieved, only for learning reference
)
- 2015-11-16 17:08:02下载
- 积分:1
-
ucosii51
这是一个用51单片机系统仿真ucosii工作的protues电路
本系统包括扩展64k RAM的单片机系统和杨屹移植到51单片机的ucosii 系统
使用方法:
1.安装Protues7.4版,然后用protues打开protues 8051 simulation 文件夹
中的extern ram.DSN 文件
2.打开extern ram.DSN 后,双击单片机在弹出的窗口中的Program File 选项 中选择yy.hex文件。
(yy.hex其实就是yy文件夹中keil文档编译出来的hex文 件,yy文件夹是杨屹的ucos51 系统,用keil 2
可以打开)
3.在Clock Frequency选项中输入22.184M(杨屹的ucos51 用的是22.184M hz的单片机频率)
4.双击VTERM串口调试显示屏,在Baud Rate 选项中选择19200的波特率
5.保存,点击运行就可以看到经典的hello world 了。
(1. Protues7.4 version installed, and then open the protues folder protues 8051 simulation
The extern ram.DSN file
2. Open extern ram.DSN, double-click the pop-up window of SCM in the Program File option, select yy.hex file.
(yy.hex actually yy folder keil out of the document compiled hex files, yy folder is Yang Yi s ucos51 system, using keil 2
Can open)
3. In the Clock Frequency option to enter 22.184M (Yang Yi of the ucos51 using a microcontroller 22.184M hz frequency)
4. Double-click VTERM serial debug display, in the Baud Rate select 19200 baud rate options
5. Save, click Run you can see the classic hello world)
- 2010-03-09 19:40:03下载
- 积分:1
-
hanshuxinhaofashenqi
基于单片机的函数信号发生器的C语言代码,自己做的(Function signal generator based on single chip microcomputer C language code
)
- 2015-05-10 15:23:41下载
- 积分:1
-
LED
旋转LED的实现,实现用单片机控制电机转速,采用无线供电方式哦(Rotate the LED, achieving MCU control motor speed, the use of wireless power supply oh)
- 2013-11-03 18:25:32下载
- 积分:1
-
one_wire_disp
一线显示,把电源跟数据线结合起来,减少了通讯连线.控制程序是C51的.(Line shows that the power supply combined with the data lines to reduce the communication connection. Control procedures are in C51.)
- 2009-02-12 20:28:07下载
- 积分:1
-
RC500
51单片机考勤系统下位机程序,可以配合上位机软件实现考勤功能,将hex文件下载到51单片机即可使用(51 MCU control procedures can be achieved with the PC software attendance function, the hex file into the microcontroller 51 can be used)
- 2013-11-07 21:16:47下载
- 积分:1