Basic Example matlab/octave code to illustrate creating a user addon.
See also: addon.
Parent - the parent arduino object.
Pins - the pins allocated the addon.
Constructor to create Echo addon
arObj - the arduino parent object
obj - created Echo object
Send text to arduino and receive back the echoed reply
text - text to send to arduino
response - response from the arduino, which should be the same as the input text.
Package: arduino