A downloadable project

This is a beta of PWM Controller for Arduino IDE.

Create a object with PWM

Use PWMWrite to use PWM in digital pins

Example:


#include <PWMController(Beta).h>

PWM led(2); // PWM -name(-pin)

void setup(){

}

void loop(){

led.PWMWrite(31); //31 for a brightness of 12.5%

}

Published 16 hours ago
StatusPrototype
CategoryOther
AuthorJosuCofe
Tagsarduino, library
ContentNo generative AI was used

Download

Download
PWMController(Beta).zip 862 bytes

Install instructions

1.-Decompress the .zip archive.

2.-Move to the folder Arduino>libraries (if you haven't create it).

Leave a comment

Log in with itch.io to leave a comment.