Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <wiringPi.h>
- #include <softPwm.h>
- #define RANGE 255
- int main ()
- {
- wiringPiSetup();
- softPwmCreate(1, 0, 255);
- softPwmCreate(4, 0, 255);
- softPwmCreate(5, 0, 255);
- softPwmWrite(1, 255);
- softPwmWrite(4, 255);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement