void setup() {
// initialize both serial ports:
Serial.begin(9600);
Serial1.begin(9600);
Serial2.begin(9600);
Serial3.begin(9600);
Serial4.begin(9600); //*************get error at compile
}
void loop() {
delay(1000);
Serial.println("data from uart0");
Serial1.println("data from uart1");
Serial2.println("data from uart2");
Serial3.println("data from uart3");
Question
Mickyprog
Hi everyone, i would like to use those two extra uart on the Max32 to get serial4 and serial5 (i need 6 uarts), i have tried that without success:
http://chipkit.net/forum/viewtopic.php?f=17&t=3139&p=13058&hilit=max32+serial+port#p13056
sample test code:
void setup() {
// initialize both serial ports:
Serial.begin(9600);
Serial1.begin(9600);
Serial2.begin(9600);
Serial3.begin(9600);
Serial4.begin(9600); //*************get error at compile
}
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");
}
Any solution??, Thank you..
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.