#include "core_pins.h"
#include "pins_arduino.h"
-#include "HardwareSerial.h"
+//#include "HardwareSerial.h"
#if 0
// moved to pins_arduino.h
if ((isfr & CORE_PIN33_BITMASK) && intFunc[33]) intFunc[33]();
}
-void portb_isr(void)
+void portb_isr_orig(void)
{
uint32_t isfr = PORTB_ISFR;
PORTB_ISFR = isfr;
FTM2_SC = FTM_SC_CLKS(1) | FTM_SC_PS(DEFAULT_FTM_PRESCALE);
#endif
- analog_init();
+ //analog_init();
//delay(100); // TODO: this is not necessary, right?
delay(4);
usb_init();
}
-
+#if 0
static uint8_t analog_write_res = 8;
}
}
-
+#endif
// TODO: startup code needs to initialize all pins to GPIO mode, input by default