Hi guys, I'm following this thread to do the Modbus master on my arduino YUN: http://forum.arduino.cc/index.php?PHPSESSID=2bn2bd9bjb5etai45g56dfpur4&topic=176142.0
but when I burn the program into the board this error comes out:
modbus_configure(&Serial, baud, SERIAL_8N2, timeout, polling, retry_count, TxEnablePin, packets, TOTAL_NO_OF_PACKETS);
cannot convert 'Serial_' to 'HardwareSerial' for argument '1' to 'void modbus_configure(HardwareSerial*, long int, unsigned char, unsigned int, unsigned int, unsigned char, unsigned char, Packet*, unsigned int)'
I don't quite understand this problem and how to solve it?