tdse-tf_3-02

Controlador PID para derretidor de miel con control local via botones y remoto via WiFi
Index Commits Files Refs Submodules README
firmware-nucleo/App/Inc/display_i2c.h (763B)
   1 /*
   2  * Copyright (c) 2026 Martin Javier Klöckner <mklockner@fi.uba.ar>
   3  *
   4  * See file `LICENSE` for full details
   5  */
   6 
   7 #ifndef _DISPLAY_I2C_H_
   8 #define _DISPLAY_I2C_H_
   9 
  10 #include <stdint.h>
  11 #include <stdbool.h>
  12 
  13 #ifdef __cplusplus
  14 extern "C" {
  15 #endif
  16 
  17 #define G_DISPLAY_CHAR_DEGREE_CODE 0xDF
  18 
  19 void display_i2c_init();
  20 void display_i2c_set_cursor_pos(uint8_t x, uint8_t y);
  21 void display_i2c_write_string(const char *str);
  22 void display_i2c_clear(void);
  23 
  24 void display_i2c_async_set_cursor_pos(uint8_t x, uint8_t y);
  25 void display_i2c_async_write_string(const char *str);
  26 void display_i2c_async_clear(void);
  27 void display_i2c_async_tick(void);
  28 bool display_i2c_async_done(void);
  29 
  30 #ifdef __cplusplus
  31 }
  32 #endif
  33 
  34 #endif /* _DISPLAY_I2C_H_ */