Synergia AVR 0.1

uec/firmware/main.cpp

Go to the documentation of this file.
00001 /* Project info here */
00002 
00003 #include <avr/io.h>
00004 #include <avr/interrupt.h>
00005 #include <util/delay.h>
00006 #include "usart.h"
00007 
00008 USART32(usb);
00009 
00010 int main(void){
00011         sei();
00012         
00013     for(;;){
00014         while (usb.empty());
00015                 unsigned char c;
00016                 usb >> c;
00017                 usb << c;
00018     }
00019     return 0;
00020 }
 All Classes Files Functions Variables Defines