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, 6 months ago.
mDot "Hello World" program does not work on my mDot
I flash the mDot example program "Hello World" on my mDot which is connected to a UDK2 micro development platform but nothing happens. Any idea why this program does not work on my mDot?
Thanks,
James
Question relating to:
2 Answers
8 years, 6 months ago.
Hi James, Take a look at lines 9 - 16:
// Uncomment this line if using a full sized UDK2.0 instead of a Micro UDK // #define UDK2 1 #ifdef UDK2 DigitalOut led(LED1); #else DigitalOut led(XBEE_RSSI); #endif
If you're using the full size UDK, you'll need to uncomment the second line in the snippet so the program toggles the proper pin.
Cheers, Mike
8 years, 6 months ago.
What do you mean by "does not work" ? does it not flash the LEDs as expected? Did it flash the mDot correctly? Is there a file in the mDot drive called fail.txt? Was the file sent to the mDot correctly with no warnings in your browser?
I have seen that I sometimes need to try it twice before it will correctly flash the image.
thanks
Andrew