summaryrefslogtreecommitdiff
path: root/code/main/openMV_cam/openMV.py
blob: 73194c1ebeba5d0d4745f835488b99521c8f30fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# blinky.py

# This work is licensed under the MIT license.
# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved.
# https://github.com/openmv/openmv/blob/master/LICENSE
#
# Blinky example

import time
from machine import LED

led = LED("LED_BLUE")

while True:
    led.on()
    time.sleep_ms(500)
    led.off()
    time.sleep_ms(500)