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.
8 years, 7 months ago.
Where can I find the "defines" like "LED1"?
I'm looking at the mDot "Hello World" program
https://developer.mbed.org/teams/MultiTech/code/mDot_helloworld/
and I'm trying to understand where it picks up its definition for "LED1" especially since
a) replacing "LED1" with "LED2", etc., in the code does not compile, and
b) the LED actually flashing is marked D3 on the board
I expect it to be in a some kind of HAL or .h file - can someone point me to where that would be?
I'm running the mDot on and UDK2 (full size)
Thanks.
1 Answer
8 years, 7 months ago.
Not a user of mDOT but these Multitech modules are MBED based so you will need to review your MBED enabled target board details for their respective hardware definitions.
Suggest to review the following source code:
assuming you have a ST micro based target board:
assuming you have a STMF4 CPU on your target board:
CPU = F411RE with MDOT:
Review the pinNames.h for full details:
// needed for mbed to build tests LED1 = PA_0,