summaryrefslogtreecommitdiff
path: root/LiquidCrystal.h
blob: d9955049f65594dae5da06a3cfd1acef5d8f64f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * LiquidCrystal
 */

#ifndef LIQUIDCRYSTAL_H_
#define LIQUIDCRYSTAL_H_

#include <stdint.h>
#include <stdbool.h>
#include <unistd.h>

void liquid_crystal_init(bool data_length, bool two_line, bool many_dots);

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);

void liquid_crystal_write_string(char *chr);

void liquid_crystal_write_string_len(char *chr, size_t max_len);

#endif