I apologize up front if this question has been answered. I've looked, but can't find it.
I have a T-3.2 (several, in fact) and I always have to press the button on the board in order to load an updated sketch. This is true regardless of the board I'm using or the program I'm running. If I'm outputting code to the Serial, I normally have to remove and reinsert the usb cable once I've uploaded the sketch in order to reconnect to the serial port. I also have a T-3.6 and I have the same issue.
Windows 10 (64 bit)
Arduino 1.8.4
Teensy Loader 1.38
Here is my sketch:
#define BTN 12
#define LED 13
void setup(){
pinMode(LED, OUTPUT);
pinMode(BTN, INPUT_PULLUP);
}
void loop(){
int btnState = digitalRead(BTN);
int ledState = btnState == HIGH ? LOW : HIGH;
digitalWrite(LED, ledState);
delay(25);
}
The program works as expected once it's uploaded.
Thanks in advance.
I have a T-3.2 (several, in fact) and I always have to press the button on the board in order to load an updated sketch. This is true regardless of the board I'm using or the program I'm running. If I'm outputting code to the Serial, I normally have to remove and reinsert the usb cable once I've uploaded the sketch in order to reconnect to the serial port. I also have a T-3.6 and I have the same issue.
Windows 10 (64 bit)
Arduino 1.8.4
Teensy Loader 1.38
Here is my sketch:
#define BTN 12
#define LED 13
void setup(){
pinMode(LED, OUTPUT);
pinMode(BTN, INPUT_PULLUP);
}
void loop(){
int btnState = digitalRead(BTN);
int ledState = btnState == HIGH ? LOW : HIGH;
digitalWrite(LED, ledState);
delay(25);
}
The program works as expected once it's uploaded.
Thanks in advance.