Make the two keyboard halves communicate with each other via I2C.

This commit is contained in:
László Monda
2016-03-11 15:39:08 +01:00
parent 7b30750ef5
commit 51de538b4a
16 changed files with 180 additions and 24 deletions

9
right/main.h Normal file
View 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