Jump to content
43oh

Recommended Posts

Hi sir,

         multitask serial sample code in energia 17 is not working ,when serial0 changed to serial1.below i added code.please help me .

void setup()
{
  Serial1.begin(115200);
}

void loop()
{
  Serial1.print("Task 1 millis: ");
  Serial1.println(millis());
  delay(1000);
}

void setup2()
{
  Serial1.begin(115200);
}

void loop2()
{
  Serial1.print("Task 2 millis: ");
  Serial1.println(millis());
  delay(500);
}

Link to post
Share on other sites

I am having the same problem with  The EMT multitask.. I am using energia ver 17 with cc3200 Launchpad. If run my program and select The “LAUNCHPAD W/3200 (80MHZ)”  the same sketch compiles and runs without error. I can compile and upload

Other multisketch examples (blink three leds) and they run okay. It appears the

Problem is with Serial and Serial1 functions, Please help  

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...