diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-05-31 15:48:15 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-05-31 15:48:15 +0200 |
commit | 8f45739d02f02c226452f7f62c4dc195e6e13b38 (patch) | |
tree | 4531e03453f54da36d865b3bfe6b23253edb9dbe /LiquidCrystal.h | |
parent | 4d0ab32f13438f7f911062088d9bdfb786a3dfce (diff) | |
download | phone_remote_nrf51-8f45739d02f02c226452f7f62c4dc195e6e13b38.tar.gz phone_remote_nrf51-8f45739d02f02c226452f7f62c4dc195e6e13b38.tar.bz2 phone_remote_nrf51-8f45739d02f02c226452f7f62c4dc195e6e13b38.tar.xz phone_remote_nrf51-8f45739d02f02c226452f7f62c4dc195e6e13b38.zip |
o Party functional LCD code.
Diffstat (limited to 'LiquidCrystal.h')
-rw-r--r-- | LiquidCrystal.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/LiquidCrystal.h b/LiquidCrystal.h index 341d729..dd28fc9 100644 --- a/LiquidCrystal.h +++ b/LiquidCrystal.h @@ -6,11 +6,21 @@ #define LIQUIDCRYSTAL_H_ #include <stdint.h> -#include "app_gpiote.h" +#include <stdbool.h> -uint32_t liquid_crystal_init(); +void liquid_crystal_init(bool data_length, bool two_line, bool many_dots); -uint32_t liquid_crystal_display(bool display_on, bool cursor_on, bool blink); +void liquid_crystal_reset(); + +void liquid_crystal_clear(); + +void liquid_crystal_return_home(); + +void liquid_crystal_entry_mode_set(bool increment, bool shift); + +void liquid_crystal_display(bool display_on, bool cursor_on, bool blink); + +void liquid_crystal_set_cursor(int column, int row); void liquid_crystal_write_char(char chr); |