35 #include "contiki-raven.h"
41 #include <util/delay.h>
42 #include "bootloader.h"
44 uint8_t checkForFinger(
void);
46 uint8_t fingerPresent = 0;
57 if (checkForFinger()) {
58 if(bootloader_is_present())
61 usb_mode = mass_storage;
72 uint8_t checkForFinger(
void)
99 PORTD = (
PORTD & ~(1<<PD3)) | ( (tests & 0x01) << PD3);
105 if ((PIND & (1<<PD2)) == ((tests & 0x01) << PD2)) {
This file contains the user callback functions corresponding to the application.
This file contains the USB driver routines.
This file contains the usb parameters that uniquely identify the application through descriptor table...
#define PORTD
Peripheral PORTD base pointer.