We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 56e6d66 + b9f3990 commit 8b928d8Copy full SHA for 8b928d8
examples/tufty2040/tufty2040_drawing.cpp
@@ -32,11 +32,11 @@ ST7789 st7789(
32
33
PicoGraphics_PenRGB332 graphics(st7789.width, st7789.height, nullptr);
34
35
-Button button_a(Tufty2040::A);
36
-Button button_b(Tufty2040::B);
37
-Button button_c(Tufty2040::C);
38
-Button button_up(Tufty2040::UP);
39
-Button button_down(Tufty2040::DOWN);
+Button button_a(Tufty2040::A, Polarity::ACTIVE_HIGH);
+Button button_b(Tufty2040::B, Polarity::ACTIVE_HIGH);
+Button button_c(Tufty2040::C, Polarity::ACTIVE_HIGH);
+Button button_up(Tufty2040::UP, Polarity::ACTIVE_HIGH);
+Button button_down(Tufty2040::DOWN, Polarity::ACTIVE_HIGH);
40
41
uint32_t time() {
42
absolute_time_t t = get_absolute_time();
0 commit comments