analogWrite(LEDPIN, map(analogRead(HALLPIN), 510, 1050, 255, 0));
-Maximum reading for a HES, when the magnet is touching it is ~1050.
how does the Arduino know that '255' is the maximum for a LED?
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