DocumentationHelp Center
Get terminals with PWM functionality
terminals = getPWMTerminals(arduinoObj)
example
terminals = getPWMTerminals(arduinoObj) returns terminals that have PWM functionality on the Arduino® board.
terminals
arduinoObj
collapse all
arduinoObj = obj.Parent; terminals = getPWMTerminals(arduinoObj)
terminals = 3 5 6 9 10 11
Arduino object, specified as an object that is an internal variable called from within classes that derive from matlabshared.addon.LibraryBase.
matlabshared.addon.LibraryBase
PWM terminals, returned as an array of doubles. For more information on terminal and pin numbers, see Physical Terminals and Pin Numbers.
getI2CTerminals | getInterruptTerminals | getServoTerminals | getSPITerminals
getI2CTerminals
getInterruptTerminals
getServoTerminals
getSPITerminals
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