标签为“电子”的页面如下
七月 10, 2017
Libraries make easy
Were it not for the exsiting librarys (LiquidCrystal and NewPing), I would spend one more day porting my MCS-51 code on LCD1602 and HY-SR05 to Arduino!
七月 8, 2017
Arduino Timer/Counter
There is no function in Arduino’s library to manipulate the Timer/Counter directly. After some searching on the Internet and reading the datasheet of ATmega 328/P I got some ideas on how to code in arduino’s IDE to talk to the timers.
五月 31, 2017
汇编语言中的机器码跨指令复用现象一瞥
今天头一次反汇编,语言是8051汇编。hex文件是给CT107D开发板用的,功能是播放《八月桂花遍地开》。
因为我手头那块板子捐掉了,所以也没什么办法体会这个是怎么实现的。于是想起了反汇编这么回事……
工具主要用了两样,一样是D52 Disassembler,另一样是Keil uVision调试工具中的反汇编能力。
四月 16, 2017
LCD1602 Driver for MCS-51
点此下载程序相关资料LCD1602.7z 基于MCS-51的LCD1602驱动程序。特别实现了定义字模的API(许多资料对此并没有详细描述)。