23 lines
477 B
C++
23 lines
477 B
C++
#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 |