QlightRead Project
|
00001 00039 #include "global_dep.h" 00040 #include "at90usbxx2_driver.h" 00041 #include "libat90usbxx2.h" 00042 00043 00053 int main (void) { 00054 00055 g_init(); 00056 00057 UINT16 adcvalue; 00058 00059 while (1) { 00060 00061 USB_re_fresh(); 00062 adcvalue= process12SPIvalue(); 00063 send_usb_host(&adcvalue); 00064 00065 00066 } 00067 00068 return 0; 00069 }