-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Thank you for this library. It works perfectly, however the LEDs never seem to get above 50% brightness
#include <singleLEDLibrary.h>
sllib redLed(6);
sllib greenLed(9);
sllib blueLed(10);
void setup() {
redLed.setOnSingle();
blueLed.setOffSingle();
greenLed.setOffSingle();
}
void loop() {
// redLed.breathSingle(1200);
// greenLed.breathSingle(1200);
// blueLed.breathSingle(1200);
}
I suspect what is happening is that digitalWrite range is 0-100 whereas analogWrite range is 0-255.
Here is my setup
Metadata
Metadata
Assignees
Labels
No labels
