This program demonstrates the usage of the PWM. Program sets PWM0 chanel 1 and outputs it to the pin P1.2 where we get a PWM signal with a constant working cycle.
Dependencies: mbed
Diff: LPC4088-system.h
- Revision:
- 0:c1305ab902af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LPC4088-system.h Sat May 02 17:29:12 2015 +0000 @@ -0,0 +1,3 @@ +//LPC4088 sistemski in clock registri + +#define PCONP (*((volatile unsigned int *) 0x400FC0C4)) \ No newline at end of file