Few minor changes

This commit is contained in:
AlexanderHD27
2025-01-04 13:32:23 +01:00
parent 08154454fa
commit caf7586b5b
6 changed files with 8 additions and 8 deletions

View File

@@ -12,7 +12,7 @@
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"panel": "dedicated",
"showReuseMessage": true,
"clear": true
},

View File

@@ -1,5 +1,5 @@
# Generated Cmake Pico project file
set(CMAKE_VERBOSE_MAKEFILE ON CACHE BOOL "ON")
cmake_minimum_required(VERSION 3.13)
set(CMAKE_C_STANDARD 11)

View File

@@ -15,7 +15,7 @@
#define GOBOTRPC_TI_INT_NUM 4
#define GOBOTRPC_TI_COMBINED_INT_PIN 18
#define GOBOTRPC_TI_EXTERNAL_PULLUP 0
#define GOBOTRPC_TI_EXTERNAL_PULLUP 1
#define GOBOTRPC_HEARTBEAT_INTERVAL 3000

View File

@@ -29,10 +29,10 @@ GobotRPC_TI_Hardware_RP2040_I2C::GobotRPC_TI_Hardware_RP2040_I2C(UBaseType_t cor
initTasks();
gpio_init(GOBOTRPC_TI_COMBINED_INT_PIN);
gpio_set_dir(GOBOTRPC_TI_COMBINED_INT_PIN, GPIO_IN);
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_init(GOBOTRPC_TI_COMBINED_INT_PIN);
//gpio_set_dir(GOBOTRPC_TI_COMBINED_INT_PIN, GPIO_IN);
//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);
}

BIN
i2c-hub/uart-adapter/src/main.py (Stored with Git LFS)

Binary file not shown.