'''''
Blinking LED
Example adapted from Richard Wardlow
To reference the pyMCU unit use ONLY mb.
mb refers to the currently connected pyMCU.
'''

for x in range(1,25):  # Create a for next loop with 25 iterations
    mb.pinHigh(1)      # Set D1 pin High  (LED On)
    mb.pausems(500)    # Sleep for half a second
    mb.pinLow(1)       # Set D1 pin Low   (LED Off)
    mb.pausems(500)    # Sleep for half a second

