Create an addon object using the addon named class.
ar - connected arduino object
addonname - the name of the addon to create. The addon name can be a user addon or an inbuilt addon, however must appear in the listArduinoLibraries output and have been programmed onto the arduino.
varargs - optional values that will be provided verbatim to the the addon class constructor.
retval - cell array of string library names.
See also: arduino, arduinosetup, listArduinoLibraries.
Package: arduino