Browse Source

Add startup delay - improves Windows & I2C sensor experience

main
PaulStoffregen 9 years ago
parent
commit
c006772eeb
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      teensy3/pins_teensy.c

+ 3
- 2
teensy3/pins_teensy.c View File

FTM3_SC = FTM_SC_CLKS(1) | FTM_SC_PS(DEFAULT_FTM_PRESCALE); FTM3_SC = FTM_SC_CLKS(1) | FTM_SC_PS(DEFAULT_FTM_PRESCALE);
#endif #endif
analog_init(); analog_init();
//delay(100); // TODO: this is not necessary, right?
delay(4);
// for background about this startup delay, please see this conversation
// https://forum.pjrc.com/threads/31290-Teensey-3-2-Teensey-Loader-1-24-Issues?p=87273&viewfull=1#post87273
delay(250);
usb_init(); usb_init();
} }



Loading…
Cancel
Save