diff --git a/picoled b/picoled index 1c9fc51..8115ae1 160000 --- a/picoled +++ b/picoled @@ -1 +1 @@ -Subproject commit 1c9fc51d01e3f5579b25f4b291b4fa01fdd83faf +Subproject commit 8115ae141217b05512ff59833360bbd5070a1ec2 diff --git a/pong/src/main.cpp b/pong/src/main.cpp index 420e8ae..4552910 100644 --- a/pong/src/main.cpp +++ b/pong/src/main.cpp @@ -19,7 +19,7 @@ struct rect { for (int j = 0; j < h; j++) { - oled(x + i, y + j) = true; + oled(x + i, y + j) = 0xFF; } } } @@ -100,14 +100,14 @@ int main() for (int i = 0; i < oled.get_width(); i++) { - oled(i, 0) = true; - oled(i, oled.get_height() - 1) = true; + oled(i, 0) = 0xFF; + oled(i, oled.get_height() - 1) = 0xFF; } for (int i = 0; i < oled.get_height(); i++) { - oled(0, i) = true; - oled(oled.get_width() - 1, i) = true; + oled(0, i) = 0xFF; + oled(oled.get_width() - 1, i) = 0xFF; } int64_t current = time_us_32();