You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@brief Helper to set pin PWM output. Sets pin without having to deal with on/off tick placement and properly handles a zero value as completely off. Optional invert parameter supports inverting the pulse for sinking to ground.
125
+
@param num One of the PWM output pins, from 0 to 15
126
+
@param val The number of ticks out of 4096 to be active, should be a value from 0 to 4095 inclusive.
127
+
@param invert If true, inverts the output, defaults to 'false'
This is a library for our Adafruit 16-channel PWM & Servo driver, shield or FeatherWing
4
+
5
+
Pick one up today in the adafruit shop!
6
+
*https://www.adafruit.com/products/815
7
+
*https://www.adafruit.com/product/1411
8
+
*https://www.adafruit.com/product/2928
5
9
6
10
These displays use I2C to communicate, 2 pins are required to
7
-
interface. For Arduinos, thats SCL -> Analog 5, SDA -> Analog 4
11
+
interface.
8
12
9
13
Adafruit invests time and resources providing this open source code,
10
14
please support Adafruit and open-source hardware by purchasing
@@ -14,10 +18,6 @@ Written by Limor Fried/Ladyada for Adafruit Industries.
14
18
BSD license, check license.txt for more information
15
19
All text above must be included in any redistribution
16
20
17
-
To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder Adafruit_PWMServoDriver. Check that the Adafruit_PWMServoDriver folder contains Adafruit_PWMServoDriver.cpp and Adafruit_PWMServoDriver.h
18
-
19
-
Place the Adafruit_PWMServoDriver library folder your <arduinosketchfolder>/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.
0 commit comments