This is my code for Experiments on Microcomputer and Interface Technology Course, EE, Peking University.
Implemented mostly by C51, some by Assembly.
- Usage of MCS-51, by Assembly.
- Timer and Counter.
- Keyboard.
- AD & DA.
- Serial.
- SPI Bus.
- I2C Bus.
- Character-type LCD Module.
These are all of the Module Experiment.
The final project realizes an elevator control system. It has graphic interface based on TFT, can record Beep tone using SPI Flash and XRAM. Also, LED, Lcd1602, AD/DA and keyboard are used.
For more information, you can see README.md in folder "Final Project".
Locally tested by Keil. C8051F020 is the chip we use.