Fixed PWM bug in epaper device firmware.
Firmware now works correctly on all epaper sizes.