BinHong Lee 8c2ccc6bb7 | hace 7 años | |
---|---|---|
.gitignore | hace 8 años | |
Makefile | hace 8 años | |
Project.elf | hace 8 años | |
Project.hex | hace 8 años | |
Project.map | hace 8 años | |
README.md | hace 7 años | |
USART.c | hace 8 años | |
USART.h | hace 8 años | |
_config.yml | hace 7 años | |
diagram.png | hace 7 años | |
index.md | hace 7 años | |
pinDefines.h | hace 8 años | |
sunlightAlarmClock.c | hace 8 años | |
unix.sh | hace 7 años |
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.