@PaulS, thanks for your answer. What you say is that the second part (else serial.write (L)) isn't essential?
What should i write instead?
Also, my bad, the output isn't the ledpin i forgot to remove that line.
@PaulS, thanks for your answer. What you say is that the second part (else serial.write (L)) isn't essential?
What should i write instead?
Also, my bad, the output isn't the ledpin i forgot to remove that line.