Hi, I am trying to make an ascii MODBUS with ESP32 wroom 32, but the compiler returns this error:
../main/esp-project.c: In function 'FCD_04c01_ModbusSlave1__SendAndCalcCRC16':
../main/esp-project.c9: error: 'FCR_RETVAL' may be used uninitialized in this function [-Werror = maybe-uninitialized]
Use: Reads the state of a single digital input.
Thanks in advance
I tried to remove the setting, but the result is always the same. the strange thing is that it doesn't even respond error ...
(this is the message: :010200010010ED.. 3a 30 31 30 32 30 30 30 31 30 30 31 30 45 44 0d 0a )
Hello, I also tried with another microprocessor (32U4 / Arduino Leonardo), but the result is the same, I'm afraid I'm making something trivial wrong ..
Can you explain a bit more about your setup, what you have connected and what you are trying to do?
The Flowcode Modbus Slave component is to be used for creating Modbus Slave devices.
If you are creating hardware to connect to an existing Modbus (slave) device, then you need to use the Flowcode Modbus Master component.