chipKIT® Development Platform

Inspired by Arduino™

Using serial4 and serial5 on Max32

Created Sun, 05 Jun 2016 01:19:35 +0000 by Mickyprog


Mickyprog

Sun, 05 Jun 2016 01:19:35 +0000

Hi everyone, i trying to use thoses 2 extra uarts on the Max32 (i need 6 uarts), i tried to change the the Board_Defs.h per http://chipkit.net/forum/viewtopic.php?t=3139#p13056 , without success, here is my sample code:

[url]http://chipkit.net/forum/viewtopic.php?t=3139#p13056[/url]

Anyone can help?, thank you

void setup() {
    // initialize serial ports:
    Serial.begin(9600);
    Serial1.begin(9600);
    Serial2.begin(9600);
    Serial3.begin(9600);
  
    Serial4.begin(9600); //get error at compile time

}

void loop() {
      delay(1000);
      Serial.println("data from uart0");
      Serial1.println("data from uart1");
      Serial2.println("data from uart2");
      Serial3.println("data from uart3");

      Serial4.println("data from uart4");
 
}

majenko

Sun, 05 Jun 2016 10:00:38 +0000

Which IDE are you using?


Mickyprog

Sun, 05 Jun 2016 13:00:28 +0000

Hi majenko, thank you for your fast reply, i'm using UECIDE 0.8.8alpha22


majenko

Sun, 05 Jun 2016 13:28:09 +0000

Ok, in that case the old config files will be cached and you need to purge them. The simplest way to do that is to hold SHIFT while pressing the compile button.


Mickyprog

Sun, 05 Jun 2016 14:40:03 +0000

Great it's work, thank you majenko, it's realy nice job your IDE, thank again :)