i2c test and display
This commit is contained in:
parent
9e254e0fb1
commit
dae0fbcbda
9 changed files with 552 additions and 14 deletions
12
fw/display.h
Normal file
12
fw/display.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue