Content originally posted in LPCWare by chris_williams_uk on Tue Feb 24 10:49:10 MST 2015
Sorry for a silly question BUT,
My copy of LPCopen does not have header files for the PWM peripherals (and I could not find them in the latest release)!
My chip_lpc177x_8x.h has the definitions:
#define LPC_PWM0_BASE 0x40014000
#define LPC_PWM1_BASE 0x40018000
which look correct, but they are not referenced anywhere! There is no
#define LPC_PWM0 ...
in any of the files on my system.
I see from a previous question that others are using the PWM, so where have you got the files from?
Thanks in advance from someone who is very confuse!
Chris.