i2c test and display

This commit is contained in:
Alessandro Mauri 2026-04-16 13:09:24 +02:00
parent 9e254e0fb1
commit dae0fbcbda
9 changed files with 552 additions and 14 deletions

12
fw/display.h Normal file
View file

@ -0,0 +1,12 @@
#ifndef _DISPLAY_H
#define _DISPLAY_H
#include <u8g2.h>
#define SSD1306_128X32 1
// #define SSD1312_96X16 1
#define PIN_DISP_RST PA7 // display reset
u8g2_t* display_init(void);
#endif // _DISPLAY_H