# HG changeset patch # User kripperger@CL-SEC241-09.cedarville.edu # Date 2012-11-07 20:05:47 # Node ID 5752934eb0b2fc0e2f75c8630b221ed77b38d58a # Parent cadd69fc3fad46d67e7a091046eb57d939801297 minor setup diff --git a/slave/slave/lib/led.c b/slave/slave/lib/led.c --- a/slave/slave/lib/led.c +++ b/slave/slave/lib/led.c @@ -7,18 +7,26 @@ #include - void led_configure() { + void led_configure() + { // Configure ports/pins for LEDs + } - void led_on(uint8_t led) { + void led_on(uint8_t led) + { // Turn the specified LED on + } - void led_off(uint8_t led) { + void led_off(uint8_t led) + { // Turn the specified LED off + } - void led_toggle(uint8_t led) { + void led_toggle(uint8_t led) + { // Toggle the specified LED + } \ No newline at end of file diff --git a/slave/slave/slave.c b/slave/slave/slave.c --- a/slave/slave/slave.c +++ b/slave/slave/slave.c @@ -18,8 +18,12 @@ //#include "lib/serial.h" #include "lib/led.h" +#include "lib/inputOutput.h" +#include "lib/i2c.h" -void micro_setup() { + +void micro_setup() +{ // Generic microcontroller config options } @@ -37,7 +41,10 @@ int main(void) while(1) { + //serial_SendCommand('0','A',0,0); + + } return 0; diff --git a/slave/slave/slave.cproj b/slave/slave/slave.cproj --- a/slave/slave/slave.cproj +++ b/slave/slave/slave.cproj @@ -74,10 +74,10 @@ compile - + compile - + compile