diff options
author | Romain Porte <microjoe@microjoe.org> | 2020-03-01 09:30:36 +0100 |
---|---|---|
committer | Romain Porte <microjoe@microjoe.org> | 2020-03-01 09:30:36 +0100 |
commit | 9879ab1fff3416aa5388c7b847bc85ff3147a9f7 (patch) | |
tree | 03baac8ae2b1c61223f1114cf8e647fe5436422d /examples | |
parent | 141c018a9f0252f48ac8e5e207721f4501f38979 (diff) | |
download | charlcd-9879ab1fff3416aa5388c7b847bc85ff3147a9f7.tar.gz charlcd-9879ab1fff3416aa5388c7b847bc85ff3147a9f7.zip |
custom_char: rename ARROW to TRIANGLE
Diffstat (limited to 'examples')
-rw-r--r-- | examples/custom_char.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/custom_char.rs b/examples/custom_char.rs index 059f173..ce2f0cb 100644 --- a/examples/custom_char.rs +++ b/examples/custom_char.rs @@ -8,10 +8,10 @@ fn main() -> std::io::Result<()> { // Alarm symbol screen.custom_char(0, [0x04, 0x0E, 0x0E, 0x0E, 0x0E, 0x1F, 0x04, 0x00])?; - screen.custom_char(1, custom_char::RIGHT_ARROW)?; - screen.custom_char(2, custom_char::LEFT_ARROW)?; - screen.custom_char(3, custom_char::UP_ARROW)?; - screen.custom_char(4, custom_char::DOWN_ARROW)?; + screen.custom_char(1, custom_char::RIGHT_TRIANGLE)?; + screen.custom_char(2, custom_char::LEFT_TRIANGLE)?; + screen.custom_char(3, custom_char::UP_TRIANGLE)?; + screen.custom_char(4, custom_char::DOWN_TRIANGLE)?; screen.clear()?; screen.write(b"\x00 Alarm 10:00\n")?; |