Could you check your details and post again (and put your code between the 'Code' tags in the editor, it makes it easier to read.)The AMS811 / 812 are low-power microprocessor
(µP) supervisory circuits used to monitor power supplies
in µP and digital systems.
Unfortunately not, I've had problems running simple things from Idle. I now use PyCharm with Anaconda for developing, works for me.That's no problem but do you know why it happens?
Code: Select all
# Set the GPIO modes print "Setting GPIO modes" GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) time.sleep(5)