Go Down

Topic: Sensor calibration (Read 115 times) previous topic - next topic

trancedus1

I tried to use the example->analog->calibration.
I wanted to make my LED to dim by using photoresistors.
Like when i enter calibration mode while holding down the button, it should indicate a bright yellow light. I also determined min and max values for the sensors readings...

i tried with this code but doesnt work: https://pastebin.com/frJS1jy6
someone help

PaulS

If you want help on the rubbish bin site, post your question there.

If you want help here, post your code HERE in code tags!

"it doesn't work" tells us NOTHING. The code does SOMETHING. Tell us what it actually does.

You expect it to do something. "calibrate a sensor" doesn't tell us near enough.
The art of getting good answers lies in asking good questions.

MarkT

In other words read the instructions for how to post here in the sticky threads, then we won't be
wasting everyone's time...
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

Go Up