energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
794 stars 672 forks source link

A simple "Hello World" does not run on TIVA-C #707

Closed chalo1311 closed 9 years ago

chalo1311 commented 9 years ago

My initial program:


define RLED RED_LED

define GLED GREEN_LED

void setup() { pinMode(RLED, OUTPUT); pinMode(GLED, OUTPUT);

digitalWrite(RLED, HIGH); delay(1000);
digitalWrite(RLED, LOW);

Serial.begin(9600); Serial.print("Hello World");

digitalWrite(GLED, HIGH);
delay(1000);
digitalWrite(GLED, LOW);

} void loop() { }


I am using a launchpad w tmc123(80 Mz). The language is Energia.

The program ran well only once. The second time turns the led on and off, however the serial monitor does not displays the "Hello World" I did suspect of the board so I did ran the program in a launchpad w lm4f120 (80Mz) and it makes the same: turns on and off the led with the right colors and does not display the
"Hello World"

I wolud appreciate someone to help me

rei-vilo commented 9 years ago

Feel free to post your question at the dedicated forum 43oh / Energia - TivaC/CC3XXX.

robertinant commented 9 years ago

I tried to reproduce but it always works for me. Make sure you have the right serial port selected in Energia. As @rei-vilo suggested. You will get quicker response to your question on the 43oh forum.

Thanks,

Robert