llvm-mos-sdk
Macros | Functions
eater.h File Reference

Go to the source code of this file.

Macros

#define LCD_I_CLEAR   0x01
 
#define LCD_I_HOME   0x02
 
#define LCD_I_MODE_INC   0x06
 
#define LCD_I_DISP_OFF   0x08
 
#define LCD_I_DISP_ON   0x0E
 
#define LCD_I_MOVE_L   0x10
 
#define LCD_I_MOVE_R   0x14
 
#define LCD_I_SHIFT_L   0x18
 
#define LCD_I_SHIFT_R   0x1C
 
#define LCD_I_FUNC_SET   0x28
 
#define LCD_I_CGRAM   0x40
 
#define LCD_I_DDRAM   0x80
 

Functions

unsigned long millis (void)
 
void delay (unsigned ms)
 
void lcd_init (void)
 
void lcd_instruction (unsigned char insn)
 
void lcd_putchar (unsigned char c)
 
void lcd_puts (const char *str)
 

Macro Definition Documentation

◆ LCD_I_CGRAM

#define LCD_I_CGRAM   0x40

◆ LCD_I_CLEAR

#define LCD_I_CLEAR   0x01

◆ LCD_I_DDRAM

#define LCD_I_DDRAM   0x80

◆ LCD_I_DISP_OFF

#define LCD_I_DISP_OFF   0x08

◆ LCD_I_DISP_ON

#define LCD_I_DISP_ON   0x0E

◆ LCD_I_FUNC_SET

#define LCD_I_FUNC_SET   0x28

◆ LCD_I_HOME

#define LCD_I_HOME   0x02

◆ LCD_I_MODE_INC

#define LCD_I_MODE_INC   0x06

◆ LCD_I_MOVE_L

#define LCD_I_MOVE_L   0x10

◆ LCD_I_MOVE_R

#define LCD_I_MOVE_R   0x14

◆ LCD_I_SHIFT_L

#define LCD_I_SHIFT_L   0x18

◆ LCD_I_SHIFT_R

#define LCD_I_SHIFT_R   0x1C

Function Documentation

◆ delay()

void delay ( unsigned  ms)

◆ lcd_init()

void lcd_init ( void  )

◆ lcd_instruction()

void lcd_instruction ( unsigned char  insn)

◆ lcd_putchar()

void lcd_putchar ( unsigned char  c)

◆ lcd_puts()

void lcd_puts ( const char *  str)

◆ millis()

unsigned long millis ( void  )