uSDR-pico/lcd.h

29 wiersze
456 B
C
Czysty Zwykły widok Historia

#ifndef __LCD_H__
#define __LCD_H__
/*
* lcd.h
*
* Created: Mar 2021
* Author: Arjan te Marvelde
*
* See lcd.c for more information
*/
#include "pico/stdlib.h"
#include "hardware/i2c.h"
#define LCD_CLEAR 0
#define LCD_HOME 1
#define LCD_BLINK 2
#define LCD_GOTO 3
2021-04-07 20:13:13 +00:00
#define LCD_CURSOR 4
void lcd_init(void);
void lcd_ctrl(uint8_t cmd, uint8_t x, uint8_t y);
2021-04-08 20:32:27 +00:00
void lcd_put(uint8_t c);
void lcd_write(uint8_t *s);
2021-04-07 20:13:13 +00:00
void lcd_test(void);
#endif