Hi,
I had this working but now when I go to compile I get a warning that there is an unconnected pin. Originally I used the pin but changed the MAX485 to a module that did not need it so changed it to unconnected and compiled and everything worked.
I then made a modification and saved it with a new name, when I went to compile I got an error and going back to the original file does the same now.
The issue is with the DDRP pin
Cannot compile ESP32 Modbus - unconnected pin
-
- Posts: 283
- http://meble-kuchenne.info.pl
- Joined: Sat Mar 19, 2022 4:53 pm
- Has thanked: 25 times
- Been thanked: 32 times
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 503 times
- Been thanked: 686 times
Re: Cannot compile ESP32 Modbus - unconnected pin
Hello,
If you do not need the DDR pin then simply change the BusType property and this will hide the pin and allow compilation.
If you do not need the DDR pin then simply change the BusType property and this will hide the pin and allow compilation.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: Cannot compile ESP32 Modbus - unconnected pin
Thanks, it is working now, strange that it seemed to work the first time?. Sort of makes me wonder why there is an "Unconnected" option for the pin.
Bob
Bob