summaryrefslogtreecommitdiff
path: root/code/main/openMV_cam
diff options
context:
space:
mode:
Diffstat (limited to 'code/main/openMV_cam')
-rw-r--r--code/main/openMV_cam/openMV.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/code/main/openMV_cam/openMV.py b/code/main/openMV_cam/openMV.py
new file mode 100644
index 0000000..73194c1
--- /dev/null
+++ b/code/main/openMV_cam/openMV.py
@@ -0,0 +1,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)