import time
import board
import digitalio

try:
    indicator_LED = digitalio.DigitalInOut( board.A0 )
    indicator_LED.direction = digitalio.Direction.OUTPUT
    indicator_LED.value = True #active low, True is off
    print( "initialized indicator" )
except Exception as err: # FIXME: identify some typcial errors
    print( "Error: led pin init failed {:}".format(err) )

while True:
    indicator_LED.value = 1
    time.sleep( 1 )
    indicator_LED.value = 0
    time.sleep( 1 )