Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
lcd_dogm.h
Go to the documentation of this file.
1 #ifndef LCD_DOGM_H
2 #define LCD_DOGM_H
3 
4 #include <stdbool.h>
5 #include "std.h"
6 #include "mcu_periph/spi.h"
7 #include "led.h"
8 
9 /* EA DOGM163, 3 line LCD at 3.3V */
10 #define DOGM_FUN_SET_1 0x39
11 #define DOGM_BIAS_SET 0x15
12 #define DOGM_PWR_CTRL 0x55
13 #define DOGM_FOLLOWER 0x6E
14 #define DOGM_CONTRAST 0x70
15 #define DOGM_FUN_SET_2 0x38
16 #define DOGM_DISP_ON 0x0C
17 #define DOGM_CLEAR 0x01
18 #define DOGM_ENTRY_MODE 0x06
19 
20 extern void lcd_cmd(uint8_t command);
21 extern void lcd_data(uint8_t data);
22 extern void lcd_dogm_init(void);
23 
24 #endif /* LCD_DOGM_H */
25 
spi.h
lcd_dogm_init
void lcd_dogm_init(void)
Definition: lcd_dogm.c:59
lcd_cmd
void lcd_cmd(uint8_t command)
Definition: lcd_dogm.c:41
std.h
uint8_t
unsigned char uint8_t
Definition: types.h:14
led.h
arch independent LED (Light Emitting Diodes) API
lcd_data
void lcd_data(uint8_t data)
Definition: lcd_dogm.c:50
mora_status_union::data
struct mora_status_union::mora_status_struct data