mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
NANO-RP2040: Add fresh filesystem custom templates.
This commit is contained in:
parent
2ae2465d6a
commit
1379b173dd
20
src/omv/boards/ARDUINO_NANO_RP2040_CONNECT/main_py.h
Normal file
20
src/omv/boards/ARDUINO_NANO_RP2040_CONNECT/main_py.h
Normal file
@ -0,0 +1,20 @@
|
||||
static const char fresh_main_py[] =
|
||||
"# Blinky example\n"
|
||||
"\n"
|
||||
"import time\n"
|
||||
"from machine import Pin\n"
|
||||
"\n"
|
||||
"# This is the only LED pin available on the Nano RP2040,\n"
|
||||
"# other than the RGB LED connected to Nina WiFi module.\n"
|
||||
"led = Pin(6, Pin.OUT)\n"
|
||||
"\n"
|
||||
"while (True):\n"
|
||||
" led.on()\n"
|
||||
" time.sleep_ms(150)\n"
|
||||
" led.off()\n"
|
||||
" time.sleep_ms(100)\n"
|
||||
" led.on()\n"
|
||||
" time.sleep_ms(150)\n"
|
||||
" led.off()\n"
|
||||
" time.sleep_ms(600)\n"
|
||||
;
|
||||
19
src/omv/boards/ARDUINO_NANO_RP2040_CONNECT/readme_txt.h
Normal file
19
src/omv/boards/ARDUINO_NANO_RP2040_CONNECT/readme_txt.h
Normal file
@ -0,0 +1,19 @@
|
||||
static const char fresh_readme_txt[] =
|
||||
"Thank you for supporting Arduino and the OpenMV project!\r\n"
|
||||
"\r\n"
|
||||
"To download the OpenMV IDE, please visit:\r\n"
|
||||
"https://openmv.io/pages/download\r\n"
|
||||
"\r\n"
|
||||
"For tutorials and documentation, please visit:\r\n"
|
||||
"https://docs.arduino.cc/\r\n"
|
||||
"http://docs.openmv.io/\r\n"
|
||||
"\r\n"
|
||||
"For technical OpenMV support and projects, please visit the forums:\r\n"
|
||||
"http://forums.openmv.io/\r\n"
|
||||
"\r\n"
|
||||
"For Arduino related issues, please visit the Arduino help center:\r\n"
|
||||
"https://support.arduino.cc/\r\n"
|
||||
"\r\n"
|
||||
"Please use Github to report bugs and issues:\r\n"
|
||||
"https://github.com/openmv/openmv\r\n"
|
||||
;
|
||||
Loading…
Reference in New Issue
Block a user