Open p0l0us opened 2 months ago
@p0l0us In the main branch.
In the arduino-esp32-libs_v3.0.1 branch: The correct macro definitions are provided in the pin_config.h file. You can refer to this file for further details.
The main branch is considered outdated, and future updates will be carried out in the arduino-esp32-libs_v3.0.1 branch. Any errors in the previous branches can be referenced by looking at the examples in the latest branch when programming. For example, you can refer to the RS485_WS2812B.ino for programming examples.
Hi, I'm trying to read ultrasonic distance sensor A02 / RS485 modbus data via T-CAN485. https://wiki.icbbuy.com/lib/exe/fetch.php?media=developmentboard:a02-output-interfaces.pdf
But I'm not able to receive any data and my code (see below) always ends by timeout. I will appreciate any suggestions or help.
At least I would like to know
RS485_EN_PIN
andRS485_SE_PIN
pins are for and how should I use them for reading and writing RS485 data ? And what whatPIN_5V_EN
(pin 16) is for ?In my code: