C3sarC Wrote:This is how I first had written the code GPIO.output(11, False) for line 17, and GPIO.output(7, False) for line 29. Later I decided to replace the work False for True thinking that by doing that my servo motor would stay energized after sleep function was over but that didnt solve my problem
Watch these two videos, these are for raspberry-pi, but will work for other boards as is, or with reversed state:
https://www.youtube.com/results?search_q...+LESSON+27
https://www.youtube.com/watch?v=SGwhx1MYXUs