diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-06-01 19:16:11 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-06-01 19:16:11 +0200 |
commit | 68c16d40df01838f203338cbaec678896cf56066 (patch) | |
tree | 1dc0b934bd4a63367e15fc002ae9b5eb3880e09d /lcd-async.h | |
parent | 570bdb95dbfb7ee3af36396569d43575ed761650 (diff) | |
download | phone_remote_nrf51-68c16d40df01838f203338cbaec678896cf56066.tar.gz phone_remote_nrf51-68c16d40df01838f203338cbaec678896cf56066.tar.bz2 phone_remote_nrf51-68c16d40df01838f203338cbaec678896cf56066.tar.xz phone_remote_nrf51-68c16d40df01838f203338cbaec678896cf56066.zip |
o Start of an async version.
Diffstat (limited to 'lcd-async.h')
-rw-r--r-- | lcd-async.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lcd-async.h b/lcd-async.h new file mode 100644 index 0000000..b0c4172 --- /dev/null +++ b/lcd-async.h @@ -0,0 +1,32 @@ +/* + * LiquidCrystal + */ + +#ifndef LIQUIDCRYSTAL_H_ +#define LIQUIDCRYSTAL_H_ + +#include <stdint.h> +#include <stdbool.h> +#include <unistd.h> + +uint32_t liquid_crystal_init(bool data_length, bool two_line, bool many_dots); + +uint32_t liquid_crystal_reset(); + +uint32_t liquid_crystal_clear(); + +uint32_t liquid_crystal_return_home(); + +uint32_t liquid_crystal_entry_mode_set(bool increment, bool shift); + +uint32_t liquid_crystal_display(bool display_on, bool cursor_on, bool blink); + +uint32_t liquid_crystal_set_cursor(int column, int row); + +uint32_t liquid_crystal_write_char(char chr); + +uint32_t liquid_crystal_write_string(char *chr); + +uint32_t liquid_crystal_write_string_len(char *chr, size_t max_len); + +#endif |