monorepo
This commit is contained in:
26
P2_SETR1/Core/Inc/hd44780.h
Executable file
26
P2_SETR1/Core/Inc/hd44780.h
Executable file
@@ -0,0 +1,26 @@
|
||||
#ifndef HD44780_H
|
||||
#define HD44780_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// It is recommended to supply your own delay function to the lcd_delay_ms
|
||||
// function pointer.
|
||||
extern void (*lcd_delay_ms)(uint32_t);
|
||||
|
||||
// Allows for smarter functionality if set
|
||||
extern uint8_t lcd_chars;
|
||||
extern uint8_t lcd_lines;
|
||||
extern uint8_t *lcd_line_addresses;
|
||||
|
||||
void lcd_clock(void);
|
||||
void lcd_setup(void);
|
||||
void lcd_reset(void);
|
||||
void lcd_write(uint8_t byte, uint8_t rs);
|
||||
void lcd_clear(void);
|
||||
void lcd_display_settings(uint8_t on, uint8_t underline, uint8_t blink);
|
||||
void lcd_display_address(uint8_t address);
|
||||
void lcd_cgram_address (uint8_t address);
|
||||
void lcd_print(char string[]);
|
||||
void writeIntegerToLCD(int integer);
|
||||
void moveToXY(unsigned char row, unsigned char column);
|
||||
#endif // HD44780_H
|
||||
Reference in New Issue
Block a user