On PI3 the /dev/ttyAMA0 is the bluetooth. The GPIO serial is /dev/ttyS0.
Better use the link which is /dev/serial0. Using the link it will work with old and new PI.
Code: Select all
try: print("\n Hello") input(" Pause ... ") except KeyboardInterrupt: print(chr(8)+chr(8),end="")
Good catch.Step 2 ist wrong: if it is NOT wet...
Step 2.5 is missing: turn the pump off.