From 861d17f490ff947e688e5c90828861ca4d262ded Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Mon, 3 Feb 2025 14:50:02 -0500 Subject: [PATCH] Added boot.py required for micropython. --- boot.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 boot.py diff --git a/boot.py b/boot.py new file mode 100644 index 0000000..9faaae5 --- /dev/null +++ b/boot.py @@ -0,0 +1,7 @@ +# boot.py -- run on boot-up +# can run arbitrary Python, but best to keep it minimal + +import pyb +#pyb.main('main.py') # main script to run after this one +#pyb.usb_mode('CDC+MSC') # act as a serial and a storage device +#pyb.usb_mode('CDC+HID') # act as a serial device and a mouse