BinHong Lee c4015947db | 7 роки тому | |
---|---|---|
.gitignore | 8 роки тому | |
Makefile | 8 роки тому | |
Project.elf | 8 роки тому | |
Project.hex | 8 роки тому | |
Project.map | 8 роки тому | |
README.md | 7 роки тому | |
USART.c | 8 роки тому | |
USART.h | 8 роки тому | |
_config.yml | 7 роки тому | |
diagram.png | 7 роки тому | |
index.md | 7 роки тому | |
pinDefines.h | 8 роки тому | |
sunlightAlarmClock.c | 8 роки тому |
The program is written for an ATMEGA168 programmed through an AVR.
For a comprehensive guide (or hardware side tutorial), please go to https://binhonglee.github.io/SunriseAlarmClock
This program requires the following stuffs to work on your computer:
$ git clone https://github.com/binhonglee/SunriseAlarmClock/
(Optional) Check the Makefile to see if it fits your microcontroller and controller.
Open your UART terminal.
Make sure your UART terminal is connected to your USART component.
Flash the microcontroller
$ make flash
To remove this program from your computer, do the following:
Uninstall every other thing you installed from the requirements that you no longer need.
Delete this folder
$ cd ../
$ rm -rf SunriseAlarmClock
Most of the program has line by line comments written so it shouldn’t be too hard to understand and to tweak it for your use.