I have one of those Chinese boards and it in general does what I tell it to do.
But I seem unable to control the two LEDs!
They both flash back and forth during setup. I have an external LED going on during Setup, and the flashes continue after that.
I have tried to control D14 directly (Rx LED apparently), but the LED does not do, what I want it to.
I have tried using direct port access for PD5 (Tx LED), but with same result. This LED is visually connected to chip pin 22 (PD5)
DDRD = B00100000; (code found elsewhere here on forum)
PORTD= B00100000;
The project starts mouse operations at the end of the setup process. Does that change things?
Mouse.move does seem to turn Tx LED on!
As it is at the moment both LED end up turned ON when the Loop process starts. Even if I in Setup set D14 as input!
Is it documented which pins are fully available during mouse operations and which are not?