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 constantly changing working cycle.

Dependencies:   mbed

LPC4088-system.h

Committer:
71GA
Date:
2015-05-02
Revision:
0:5942c938ad64

File content as of revision 0:5942c938ad64:

//LPC4088 sistemski in clock registri

#define PCONP             (*((volatile unsigned int *) 0x400FC0C4))