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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LPC4088-system.h Source File

LPC4088-system.h

00001 //LPC4088 sistemski in clock registri
00002 
00003 #define PCONP             (*((volatile unsigned int *) 0x400FC0C4))