You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using serial communication, allow the user to specify any Stream object, rather than hard-coding "Serial". This will make your library compatible all serial ports on Mega and the Due, and can also use alternate interfaces like SoftwareSerial. The Stream object can be passed to your library's constructor or to a begin() function (as a reference, not a pointer). See Firmata 2.3 or XBee 0.4 for examples of each approach.
- BREAK: This is a breaking change to the interface. ModbusMaster now takes a
serial object which has been initialized with the appropriate baud rate.
Any Stream object may be used, including SoftwareSerial.
- As a byproduct of these changes, the library should now be able to be used
on other architectures besides AVR and SAM.
- BREAK: This is a breaking change to the interface. ModbusMaster now takes a
serial object which has been initialized with the appropriate baud rate.
Any Stream object may be used, including SoftwareSerial.
- As a byproduct of these changes, the library should now be able to be used
on other architectures besides AVR and SAM.
Per Arduino style guide:
Refer to http://www.arduino.cc/en/Reference/APIStyleGuide.
Changes:
Test with real hardware and signal tracer
The text was updated successfully, but these errors were encountered: