Hi all,
I've baked in a Teensy 3.6, and I'm having a weird problem right now.
I'm setting the pinMode for pin 40 to OUTPUT, and after doing so, the Teensy no longer appears in USB Serial -- and I can't hear from it.
If I remove the pinMode(40, OUTPUT) statement, then it continues to work and output Serial.
Setting pinMode to INPUT and INPUT_PULLUP work just fine, but OUTPUT kills Serial.
The pin goes from the MCU to the gate of a PFET, which has a 30k pullup to +3.3V -- but that's it.
Any idea what might be causing the problem?
I've baked in a Teensy 3.6, and I'm having a weird problem right now.
I'm setting the pinMode for pin 40 to OUTPUT, and after doing so, the Teensy no longer appears in USB Serial -- and I can't hear from it.
If I remove the pinMode(40, OUTPUT) statement, then it continues to work and output Serial.
Setting pinMode to INPUT and INPUT_PULLUP work just fine, but OUTPUT kills Serial.
The pin goes from the MCU to the gate of a PFET, which has a 30k pullup to +3.3V -- but that's it.
Any idea what might be causing the problem?