summaryrefslogtreecommitdiff
path: root/code/main/openMV_cam/openMV.py
diff options
context:
space:
mode:
authorAbel Tim <abel.tim.t@gmail.com>2025-03-23 12:38:48 +0100
committerAbel Tim <abel.tim.t@gmail.com>2025-03-23 12:38:48 +0100
commit764c8722596f5b3bd01bb26848f7289b0972d7b0 (patch)
tree73b8090d371b0c0479f1b72803f3e0e0f0754dc1 /code/main/openMV_cam/openMV.py
parenta52c13fdf50fbc19dfdce2d087b4739b96d46a0b (diff)
downloadrobotica-764c8722596f5b3bd01bb26848f7289b0972d7b0.tar.gz
robotica-764c8722596f5b3bd01bb26848f7289b0972d7b0.zip
updated repo structure
Diffstat (limited to 'code/main/openMV_cam/openMV.py')
-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)