One common cause for very dim outputs is failing to call pinMode(pin, OUTPUT), so you only get the weak internal pullups sourcing current.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16