Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi,
When I compile a cpp file addressing a byte port, for example FIOSET0, using the mbed.h header, I get the following error mssage "Class "LPC_GPIO_TypeDef" has no member "FIOSET0" (E135)" in file "/main.cpp". Using only the lpc17xx.h header, my file compiles without any error message. But there is a side effect; port bits 7..0 are reversed on the mbed DIP pins, that is, bit 7 becomes bit 0, bit 6 becomes bit 1, etc.
To what extend does mbed support the lpc17xx.h header, and to what extend does mbed.h coexist with lpc17xx.h?
Best regards
Henrik Larsen