Closed mrguen closed 5 years ago
Hello,
I tried to make it work on STM32F103C8T6 (with STM32duino support) . The old code does not work: pinMode(pin1, INPUT); digitalWrite(pin1, HIGH); // turn on pullup resistor
And should be replaced by
pinMode(pin1, INPUT_PULLUP);
Same for pin2...
Thank you ! Just pushed the changes.
Hello,
I tried to make it work on STM32F103C8T6 (with STM32duino support) . The old code does not work: pinMode(pin1, INPUT); digitalWrite(pin1, HIGH); // turn on pullup resistor
And should be replaced by
pinMode(pin1, INPUT_PULLUP);
Same for pin2...