Update submodule
This commit is contained in:
parent
875a25e428
commit
f26f2163e9
2
picoled
2
picoled
@ -1 +1 @@
|
|||||||
Subproject commit 1c9fc51d01e3f5579b25f4b291b4fa01fdd83faf
|
Subproject commit 8115ae141217b05512ff59833360bbd5070a1ec2
|
@ -19,7 +19,7 @@ struct rect
|
|||||||
{
|
{
|
||||||
for (int j = 0; j < h; j++)
|
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++)
|
for (int i = 0; i < oled.get_width(); i++)
|
||||||
{
|
{
|
||||||
oled(i, 0) = true;
|
oled(i, 0) = 0xFF;
|
||||||
oled(i, oled.get_height() - 1) = true;
|
oled(i, oled.get_height() - 1) = 0xFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < oled.get_height(); i++)
|
for (int i = 0; i < oled.get_height(); i++)
|
||||||
{
|
{
|
||||||
oled(0, i) = true;
|
oled(0, i) = 0xFF;
|
||||||
oled(oled.get_width() - 1, i) = true;
|
oled(oled.get_width() - 1, i) = 0xFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
int64_t current = time_us_32();
|
int64_t current = time_us_32();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user