We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31fbc36 commit 4aa8737Copy full SHA for 4aa8737
src/Pico/picocan.h
@@ -104,8 +104,8 @@ void OlcbCanClass::init() {
104
uint32_t pio_num = 0;
105
uint32_t sys_clock = 125000000UL;
106
uint32_t bitrate = 125000UL;
107
- gpio_rx = 27; // rxpin
108
- gpio_tx = 28; // txpin
+ gpio_rx = PICO_2040_RX_PIN; // rxpin
+ gpio_tx = PICO_2040_TX_PIN; // txpin
109
// Setup canbus
110
can2040_setup(pcan, pio_num);
111
can2040_callback_config(pcan, can2040_callback);
0 commit comments