Arduino Toolkit - arduinoioaddons.ExampleAddon.Echo
- : arduinoioaddons.ExampleAddon.Echo
Basic Example matlab/octave code to illustrate creating a user addon.
See also: addon.
Properties
Parent - the parent arduino object.
Pins - the pins allocated the addon.
Methods
- :
obj =
Echo(arObj) Constructor to create Echo addon
Inputs
arObj - the arduino parent object
Outputs
obj - created Echo object
- :
response =
shout(text) Send text to arduino and receive back the echoed reply
Inputs
text - text to send to arduino
Outputs
response - response from the arduino, which should be the same as the input text.