Make the two keyboard halves communicate with each other via I2C.
This commit is contained in:
9
right/main.h
Normal file
9
right/main.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef __MAIN_H__
|
||||
#define __MAIN_H__
|
||||
|
||||
#define EXAMPLE_I2C_MASTER_BASEADDR I2C0
|
||||
#define I2C_BAUD_RATE 100000
|
||||
#define I2C_MASTER_CLK_SRC I2C0_CLK_SRC
|
||||
#define I2C_DATA_LENGTH 2
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user