mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-09 23:18:10 -07:00
change mode to OD
This commit is contained in:
@@ -30,7 +30,7 @@ void application_blink(void* p) {
|
||||
GpioPin led = {.pin = GPIO_PIN_8, .port = GPIOA};
|
||||
|
||||
// configure pin
|
||||
pinMode(led, GpioModeOutput);
|
||||
pinMode(led, GpioModeOpenDrain);
|
||||
|
||||
while(1) {
|
||||
digitalWrite(led, HIGH);
|
||||
|
||||
Reference in New Issue
Block a user