DocumentationHelp Center
Get terminals that have SPI functionality
terminals = getSPITerminals(arduinoObj)
example
terminals = getSPITerminals(arduinoObj) returns terminals that have SPI functionality on the Arduino® board
terminals
arduinoObj
collapse all
Get terminals on an Arduino Uno device with specific SPI functionality.
arduinoObj = obj.Parent; terminals = getSPITerminals(arduinoObj)
terminals = 10 11 12 13
Arduino object, specified as an object that is an internal variable called from within classes that derive from matlabshared.addon.LibraryBase.
matlabshared.addon.LibraryBase
SPI terminals, returned as an array of doubles. For more information on terminal and pin numbers, see Physical Terminals and Pin Numbers.
getI2CTerminals | getInterruptTerminals | getPWMTerminals | getServoTerminals
getI2CTerminals
getInterruptTerminals
getPWMTerminals
getServoTerminals
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office