I have tried the suggested delay (10 seconds) at start up to give time for everything to initialise, however I can not get it to cold start. I have done this for blink and it doesn't seem to work even on blink. I have the octows2811 board from pjrc https://www.pjrc.com/teensy/td_libs_OctoWS2811.html connected as well as
prjc Ethernet board https://www.pjrc.com/teensy/td_libs_Ethernet.html configured as suggested in the respective pages. This is a teensy 3.6 running at 180mhz, usb type: serial and optimimser : faster
prjc Ethernet board https://www.pjrc.com/teensy/td_libs_Ethernet.html configured as suggested in the respective pages. This is a teensy 3.6 running at 180mhz, usb type: serial and optimimser : faster
Code:
/* LED Blink, Teensyduino Tutorial #1
http://www.pjrc.com/teensy/tutorial.html
This example code is in the public domain.
*/
// Teensy 2.0 has the LED on pin 11
// Teensy++ 2.0 has the LED on pin 6
// Teensy 3.x / Teensy LC have the LED on pin 13
const int ledPin = 13;
// the setup() method runs once, when the sketch starts
void setup(){
delay(10000);
// initialize the digital pin as an output.
pinMode(ledPin, OUTPUT);
}
// the loop() methor runs over and over again,
// as long as the board has power
void loop() {
digitalWrite(ledPin, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(ledPin, LOW); // set the LED off
delay(1000); // wait for a second
}