Few minor changes
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
"echo": true,
|
"echo": true,
|
||||||
"reveal": "always",
|
"reveal": "always",
|
||||||
"focus": true,
|
"focus": true,
|
||||||
"panel": "shared",
|
"panel": "dedicated",
|
||||||
"showReuseMessage": true,
|
"showReuseMessage": true,
|
||||||
"clear": true
|
"clear": true
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Generated Cmake Pico project file
|
# Generated Cmake Pico project file
|
||||||
|
set(CMAKE_VERBOSE_MAKEFILE ON CACHE BOOL "ON")
|
||||||
cmake_minimum_required(VERSION 3.13)
|
cmake_minimum_required(VERSION 3.13)
|
||||||
|
|
||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
#define GOBOTRPC_TI_INT_NUM 4
|
#define GOBOTRPC_TI_INT_NUM 4
|
||||||
#define GOBOTRPC_TI_COMBINED_INT_PIN 18
|
#define GOBOTRPC_TI_COMBINED_INT_PIN 18
|
||||||
|
|
||||||
#define GOBOTRPC_TI_EXTERNAL_PULLUP 0
|
#define GOBOTRPC_TI_EXTERNAL_PULLUP 1
|
||||||
|
|
||||||
#define GOBOTRPC_HEARTBEAT_INTERVAL 3000
|
#define GOBOTRPC_HEARTBEAT_INTERVAL 3000
|
||||||
|
|
||||||
|
|||||||
@@ -29,10 +29,10 @@ GobotRPC_TI_Hardware_RP2040_I2C::GobotRPC_TI_Hardware_RP2040_I2C(UBaseType_t cor
|
|||||||
|
|
||||||
initTasks();
|
initTasks();
|
||||||
|
|
||||||
gpio_init(GOBOTRPC_TI_COMBINED_INT_PIN);
|
//gpio_init(GOBOTRPC_TI_COMBINED_INT_PIN);
|
||||||
gpio_set_dir(GOBOTRPC_TI_COMBINED_INT_PIN, GPIO_IN);
|
//gpio_set_dir(GOBOTRPC_TI_COMBINED_INT_PIN, GPIO_IN);
|
||||||
gpio_pull_down(GOBOTRPC_TI_COMBINED_INT_PIN);
|
//gpio_pull_down(GOBOTRPC_TI_COMBINED_INT_PIN);
|
||||||
gpio_set_irq_enabled_with_callback(GOBOTRPC_TI_COMBINED_INT_PIN, GPIO_IRQ_EDGE_RISE , true, &intPin_ISR);
|
//gpio_set_irq_enabled_with_callback(GOBOTRPC_TI_COMBINED_INT_PIN, GPIO_IRQ_EDGE_RISE , true, &intPin_ISR);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
i2c-hub/uart-adapter/src/main.py
(Stored with Git LFS)
BIN
i2c-hub/uart-adapter/src/main.py
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user