So I got this code:
When measuring pin D0 with a multimeter I get ~1.75 volts, nothing is connected to the teensy and it is powered from USB
I tried also:
pinMode(PIN_D0, INPUT);
digitalWrite(PIN_D0, HIGH);
Same results.
writing LOW to PIN_D0 makes the pin float, as expected.
PIN_D1 gives 4.9V, as expected.
Any help would be great.
Thanks
Code:
void setup() {
pinMode(PIN_D0, INPUT_PULLUP);
}
When measuring pin D0 with a multimeter I get ~1.75 volts, nothing is connected to the teensy and it is powered from USB
I tried also:
pinMode(PIN_D0, INPUT);
digitalWrite(PIN_D0, HIGH);
Same results.
writing LOW to PIN_D0 makes the pin float, as expected.
PIN_D1 gives 4.9V, as expected.
Any help would be great.
Thanks