Rename the toplevel include directory to shared. Add it to the project workspace. Include led_driver.h from main.c
This commit is contained in:
3
shared/README.md
Normal file
3
shared/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Include files
|
||||
|
||||
These files are shared between multiple projects of this repository.
|
||||
10
shared/i2c_addresses.h
Normal file
10
shared/i2c_addresses.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef __I2C_H__
|
||||
#define __I2C_H__
|
||||
|
||||
#define LEFT_KEYBOARD_HALF_I2C_ADDRESS_7BIT 8
|
||||
|
||||
// The 7-bit I2C addresses of the IS31FL3731 LED driver range from 0x74 to 0x77
|
||||
#define LEFT_LED_DRIVER_ADDRESS_7BIT 0b1110100
|
||||
#define RIGHT_LED_DRIVER_ADDRESS_7BIT 0b1110111
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user