Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 
void lcd_cmd(uint8_t command)
Definition: lcd_dogm.c:41
Architecture independent SPI (Serial Peripheral Interface) API.
unsigned char uint8_t
Definition: types.h:14
void lcd_data(uint8_t data)
Definition: lcd_dogm.c:49
arch independent LED (Light Emitting Diodes) API
void lcd_dogm_init(void)
Definition: lcd_dogm.c:57