BinHong Lee 5ca48473eb | пре 7 година | |
---|---|---|
.gitignore | пре 8 година | |
Makefile | пре 8 година | |
Project.elf | пре 8 година | |
Project.hex | пре 8 година | |
Project.map | пре 8 година | |
README.md | пре 7 година | |
USART.c | пре 8 година | |
USART.h | пре 8 година | |
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/AVR---Sunrise-Alarm-Clock
This program requires the following stuffs to work on your computer:
$ git clone https://github.com/binhonglee/AVR---Sunrise-Alarm-Clock/
(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 AVR---Sunrise-Alarm-Clock
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.