Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
BinHong Lee 8c2ccc6bb7 Added setup script il y a 7 ans
.gitignore Initial commit il y a 7 ans
Makefile Initial commit il y a 7 ans
Project.elf Initial commit il y a 7 ans
Project.hex Initial commit il y a 7 ans
Project.map Initial commit il y a 7 ans
README.md Updated some documentations il y a 7 ans
USART.c Initial commit il y a 7 ans
USART.h Initial commit il y a 7 ans
_config.yml Set theme jekyll-theme-leap-day il y a 7 ans
diagram.png Added documentations and instructions to set up il y a 7 ans
index.md Updated some documentations il y a 7 ans
pinDefines.h Initial commit il y a 7 ans
sunlightAlarmClock.c Initial commit il y a 7 ans
unix.sh Added setup script il y a 7 ans

README.md

Sunrise Alarm Clock

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

Requirements

This program requires the following stuffs to work on your computer:

  • avrdude
  • make
  • cmake
  • UART terminal

Installation

  1. Clone this repository
$ git clone https://github.com/binhonglee/SunriseAlarmClock/
  1. (Optional) Check the Makefile to see if it fits your microcontroller and controller.

  2. Open your UART terminal.

  3. Make sure your UART terminal is connected to your USART component.

  4. Flash the microcontroller

$ make flash

Removal

To remove this program from your computer, do the following:

  1. Uninstall every other thing you installed from the requirements that you no longer need.

  2. Delete this folder

$ cd ../
$ rm -rf SunriseAlarmClock
Author’s note :

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.