initial commit

This commit is contained in:
John Cobb
2015-02-04 15:02:53 -06:00
commit 9ec955eba4
35 changed files with 19750 additions and 0 deletions

22
Drivers/led.c Normal file
View File

@ -0,0 +1,22 @@
/*
* led.c
*
* Created on: Feb 4, 2015
* Author: jcobb
*/
#include <avr/io.h>
#include "led.h"
void vLEDInit(void)
{
DDRB |= _BV(PB5);
//DDRB |= _BV(PB6);
}
void vLEDToggle(void)
{
PORTB ^= _BV(PB5);
//PORTD ^= _BV(PD6);
}

15
Drivers/led.h Normal file
View File

@ -0,0 +1,15 @@
/*
* led.h
*
* Created on: Feb 4, 2015
* Author: jcobb
*/
#ifndef LED_H_
#define LED_H_
void vLEDInit(void);
void vLEDToggle(void);
#endif /* LED_H_ */