Implemented RX on Node
This commit is contained in:
23
i2c-hub/firmware/i2c-hub-firmware/include/pinConfig.hpp
Normal file
23
i2c-hub/firmware/i2c-hub-firmware/include/pinConfig.hpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#define LED1_PIN 8
|
||||
#define LED2_PIN 9
|
||||
#define LED3_PIN 25
|
||||
|
||||
#define GOBOTRPC_CI_UART_RX 0
|
||||
#define GOBOTRPC_CI_UART_TX 1
|
||||
|
||||
#define GOBOTRPC_TI_I2C_SDA 4
|
||||
#define GOBOTRPC_TI_I2C_SCL 5
|
||||
#define GOBOTRPC_TI_CLOCK_SPEED 10000
|
||||
|
||||
#define GOBOTRPC_TI_INT_PIN_START 10
|
||||
#define GOBOTRPC_TI_INT_NUM 4
|
||||
#define GOBOTRPC_TI_COMBINED_INT_PIN 18
|
||||
|
||||
#define GOBOTRPC_TI_EXTERNAL_PULLUP 1
|
||||
|
||||
#define GOBOTRPC_HEARTBEAT_INTERVAL 3000
|
||||
|
||||
#define UART_CORE_MASK 0b01
|
||||
#define I2C_CORE_MASK 0b10
|
||||
Reference in New Issue
Block a user