Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
BinHong Lee 5ca48473eb Added documentations and instructions to set up 7 år sedan
.gitignore Initial commit 7 år sedan
Makefile Initial commit 7 år sedan
Project.elf Initial commit 7 år sedan
Project.hex Initial commit 7 år sedan
Project.map Initial commit 7 år sedan
README.md Added documentations and instructions to set up 7 år sedan
USART.c Initial commit 7 år sedan
USART.h Initial commit 7 år sedan
diagram.png Added documentations and instructions to set up 7 år sedan
index.md Added documentations and instructions to set up 7 år sedan
pinDefines.h Initial commit 7 år sedan
sunlightAlarmClock.c Initial commit 7 år sedan

README.md

AVR - 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/AVR---Sunrise-Alarm-Clock

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/AVR---Sunrise-Alarm-Clock/
  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 AVR---Sunrise-Alarm-Clock
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.