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

LPC4088-system.h

Committer:
71GA
Date:
2015-05-02
Revision:
0:c1305ab902af

File content as of revision 0:c1305ab902af:

//LPC4088 sistemski in clock registri

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