led_matrix works now
This commit is contained in:
parent
bf2670601d
commit
6b74dd6de5
7 changed files with 45 additions and 39 deletions
|
@ -26,6 +26,16 @@
|
|||
#include "ch.h"
|
||||
#include <hal.h>
|
||||
|
||||
#ifndef I2C1_BANK
|
||||
#define I2C1_BANK GPIOB
|
||||
#endif
|
||||
#ifndef I2C1_SCL
|
||||
#define I2C1_SCL 6
|
||||
#endif
|
||||
#ifndef I2C1_SDA
|
||||
#define I2C1_SDA 7
|
||||
#endif
|
||||
|
||||
#ifndef I2C_DRIVER
|
||||
#define I2C_DRIVER I2CD1
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue