bbb — Connection to BeagleBone® Black hardware beaglebone object
BeagleBone Black connection created using beaglebone, specified as an
object.
pin_name — Name of output pin character vector
Name of output pin.
PWMs PWM0A and PWM0B share
pins with SPI 0 and serial port 2.
Alternative PWM fanouts PWM0A, PWM0B, PWM1A, PWM1B, PWM2A,
and PWM2B share pins with HDMI, which is enabled
by default. Use showPins to view the current
pin usage. If HDMI is enabled, you cannot enable these pins using enablePWM.
For information on how to disable HDMI, see the BeagleBone Black hardware
documentation.
Example: 'P9_14'
Data Types: char
frequency — Frequency of output waveform, in Hz numeric scalar
Frequency to assign to output pin, in Hz. The value is constrained
to the minimum and maximum values that the PWM hardware can support.
Example: 2000
Version History
Introduced in R2015a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
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:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.