Hi, I'm working on the mega Rfid project and using multiple serial ports.
Does using any of the PWM pin in PWM mode (analogWrite) stop the serial port working?.
My program is basically:-
Void loop()
{
if (Serial1.available() > 0 )
{
do action !!!!
}
if (Serial2.available() > 0 )
{
do action !!!!
}
for (byte i=0; i <= 255; i++)
{
analogWrite(LED1,i);
analogWrite(LED2,255-i);
delay(1);
}
delay(100);
}
The PWM bit is working, but the serial port have now stopped working.
Help please