Hi,
This code compile without error on Teensy2 but not with Teensy3 ?
What is wrong ?
Thanks
This code compile without error on Teensy2 but not with Teensy3 ?
What is wrong ?
Code:
byte index = 0;
char message[10];
void setup()
{
strcpy(message,"123456");
}
void loop()
{
Serial.print("\r\nmessage ");
while (message[index] != '\0')
{
Serial.print(message[index]);
index++;
}
}
Thanks