Serial port5 does nothing...

Digisol's picture

Hi!, I made a small sketch using uecide 0.10.6, for my custom made Max32 board:

int C=0;

void setup(){
  Serial5.begin(19200);
}

void loop(){
  Serial.print(C,HEX);
  Serial5.print(C,HEX);
  if(C++ >= 0xFF) C=0;
  delay(50);
}

It works on Serial0, but not on Serial5, I wonder why...

I didn't got any compiler nor linker errors.

I already edited "Board_Defs.h" file and set 6 serial ports and included port 4 & 5 definitions for them as in http://chipkit.net/forum/viewtopic.php?f=17&t=3139&p=13058&hilit=max32+s....

Am I doing something wrong?

In any case, thanks for your help...

Comments

Pages