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! ...

2017年7月10日 · 1 分钟 · 26 字 · Thomas Xu

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. ...

2017年7月8日 · 3 分钟 · 1109 字 · Thomas Xu

Arduino Uno / ATmega 328学习

现在这里列出一些我参考的资料。以后可能还会写学习心得吧(不一定)。 ...

2017年7月7日 · 1 分钟 · 97 字 · Thomas Xu

汇编语言中的机器码跨指令复用现象一瞥

今天头一次反汇编,语言是8051汇编。hex文件是给CT107D开发板用的,功能是播放《八月桂花遍地开》。 因为我手头那块板子捐掉了,所以也没什么办法体会这个是怎么实现的。于是想起了反汇编这么回事…… 工具主要用了两样,一样是D52 Disassembler,另一样是Keil uVision调试工具中的反汇编能力。 ...

2017年5月31日 · 2 分钟 · 549 字 · Thomas Xu

LCD1602 Driver for MCS-51

点此下载程序相关资料LCD1602.7z 基于MCS-51的LCD1602驱动程序。特别实现了定义字模的API(许多资料对此并没有详细描述)。压缩包LCD1602.7z内还包括了取字模工具、参考资料、仿真电路等。 ...

2017年4月16日 · 1 分钟 · 105 字 · Thomas Xu