I’m working on a project which needs to do this:
When I push a pushbutton, the servomotor turns 180 degrees. There’s a temperature sensor, if this sensor gets 2 degrees hotter, it makes the servomotor turn back 180 degrees to it’s zero position.
If I want to read the voltage it only says it begin state, it doesn’t change if i warm it up.
I hope you guys know if i made a mistake in my arduino script
Coffee_Machine.ino (1.02 KB)