void setup() { pinMode(LED_PIN, OUTPUT); if (Usb.Init() == -1) { while(1) { errorBlink(); } } }
void setup() { Serial.begin(115200); Serial.println("Welcome to Scopduino"); pinMode(LED_PIN, OUTPUT); DDRF = 0x00; memset(g_storage_space, 0, sizeof(g_storage_space)); if (g_usb.Init() == -1) { Serial.println("OSCOKIRQ failed to assert"); } }