My First Program / Compile / Download = Success!!
Page last updated
24 May 2013, by
DeWitt Gibson.
5
replies
I wrote my first Hello World program, compiled to binary, and installed onto Freescale Board according to the Handbook instructions! Very Cool! I get it ... OK let's start putting some ideas into action here...
5 comments on My First Program / Compile / Download = Success!! :
bpichaikrish
#
26 Jun 2013
hi i downloaded the device driver and executed the same hello world no erors but no outputI am running on windows vista..I did the same thing as you did.. ..can you please help me with this issue... Thanks
B P wrote:
hi i downloaded the device driver and executed the same hello world no erors but no outputI am running on windows vista..I did the same thing as you did.. ..can you please help me with this issue... Thanks
Hey there: Did you push the reset button on your board? All the Hello World program is supposed to do is flash the leds. Did you see the leds flash?
Here are the complete instructions: https://mbed.org/handbook/mbed-FRDM-KL25Z-Downloading
Here is my C++ Hello World:
- include "mbed.h"
/ May 24, 2013 - My first compile and download to Freescale KL25Z
DeWitt Gibson http://www.dewittgibson.com */
DigitalOut myled(LED1);
int main() {
while(1) {
myled = 1;
wait(0.2);
myled = 0;
wait(0.2);
}
}
B P wrote:
hi i downloaded the device driver and executed the same hello world no erors but no outputI am running on windows vista..I did the same thing as you did.. ..can you please help me with this issue... Thanks
Hey there: Did you push the reset button on your board? All the Hello World program is supposed to do is flash the leds. Did you see the leds flash?
Here are the complete instructions: https://mbed.org/handbook/mbed-FRDM-KL25Z-Downloading
Here is my C++ Hello World:
- include "mbed.h"
DigitalOut myled(LED1);
int main() {
while(1) {
myled = 1;
wait(0.2);
myled = 0;
wait(0.2);
}
}
B P wrote:
hi i downloaded the device driver and executed the same hello world no erors but no outputI am running on windows vista..I did the same thing as you did.. ..can you please help me with this issue... Thanks
Hey there: Did you push the reset button on your board? All the Hello World program is supposed to do is flash the leds. Did you see the leds flash?
Here are the complete instructions: https://mbed.org/handbook/mbed-FRDM-KL25Z-Downloading
Here is my C++ Hello World:
- include "mbed.h"
DigitalOut myled(LED1);
int main() {
while(1) {
myled = 1;
wait(0.2);
myled = 0;
wait(0.2);
}
}
humm... every time I edited my comment, it posted as a new thread... I only meant to post once and edit....
Please log in to post comments.
hi i downloaded the device driver and executed the same hello world no erors but no outputI am running on windows vista..I did the same thing as you did.. ..can you please help me with this issue... Thanks