Digi to Analoge Thermometer

Create a scale that you put on top on the servo, use servo to control the gauge

 

Use the built-in temp. sensor in the Microbit control a servo. Build a Thermometer around the servo.



Now, this one works perfectly well in the simulation mode, but honestly not in reality. Someone with skills might be kind enough to tell me what is wrong with the code, and in detail try to explain why servo continues to spin... 


Comments