We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f56b2a7 commit 0470f74Copy full SHA for 0470f74
examples/EMUcan_ESP32/EMUcan_ESP32.ino
@@ -31,7 +31,7 @@ void setup() {
31
Serial.println("------- CAN Read ----------");
32
33
// Initialize configuration structures using macro initializers
34
- twai_general_config_t g_config = TWAI_GENERAL_CONFIG_DEFAULT((gpio_num_t)TX_PIN, (gpio_num_t)RX_PIN, TWAI_MODE_LISTEN_ONLY);
+ twai_general_config_t g_config = TWAI_GENERAL_CONFIG_DEFAULT((gpio_num_t)TX_PIN, (gpio_num_t)RX_PIN, TWAI_MODE_NORMAL);
35
twai_timing_config_t t_config = TWAI_TIMING_CONFIG_500KBITS(); //Look in the api-reference for other speed sets.
36
twai_filter_config_t f_config = TWAI_FILTER_CONFIG_ACCEPT_ALL();
37
0 commit comments