Tinkercad Circuits

The code for this is quite simple, digitalWrite(Red#, HIGH). The same is true for the others but why is the last two quite dimmer than the others? I've tried analogWrite(Red#, 255) and that works, but I'm hoping to make it a consistent digitalWrite.

Did you forget to set those pins to OUTPUT?

Check line 42; it's almost always line 42.

Seriously, show us your sketch. None of us are mind readers.

1 Like

Sorry, kinda forgot to do that but it solved now, anyway. Thank you.

I've checked, and yeah, I forgot. Nice deduction! Thank you very much!

1 Like

No problem. Seems my crystal ball was working today. Should have bought a lottery ticket.

If you want to know the problems I can see with your circuit, just ask.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.