Arduino Pin Library  v4.2.0
An easy to use Arduino library for fast and simultaneous operations on Arduino I/O pins.
Pin-PWM.ino
#include <Pin.h> // Include Pin Library
Pin myPin = Pin(5); // Create Pin object for digital pin labelled 5 on any of the supported boards
void setup() {
myPin.setOutput(); // Set Pin to output mode
// The Pin must support PWM
myPin.setDutyCycle(127); // Set Pin duty cycle to 127 (~50%)
}
void loop() {
}