I am currently building a project which involves a Teensy 3.2. One of its jobs is to always keep a digitalPin after powerup HIGH to later at some time pull it down to GND. I tried that:
-Teensy 3.6 (I cannot use my 3.2 on a breadboard)
-3K6 Pullup to 3.3V
- Pin 14
This is the result:
The pin goes LOW for about 237nS. For this application I could solve that by adding a low pass filter to the pin but in my opinion this is an ugly solution and this would only work for this particular case.
Is it somehow possible to let it stay HIGH all the time?
-Teensy 3.6 (I cannot use my 3.2 on a breadboard)
-3K6 Pullup to 3.3V
- Pin 14
Code:
void setup()
{
delay(1000);
digitalWrite(14, HIGH);
pinMode(14, OUTPUT);
digitalWrite(14, HIGH);
}
void loop()
{
}
This is the result:
The pin goes LOW for about 237nS. For this application I could solve that by adding a low pass filter to the pin but in my opinion this is an ugly solution and this would only work for this particular case.
Is it somehow possible to let it stay HIGH all the time?