Arduino While Loop Example Code Python