Is there anything known about this symptom:
From hardware reset without USB plugged in,
my program starts and port A GPIOs stay as I set them for 60 seconds (more, but I stopped counting)
plug in USB connector port A GPIOs stay as I set them for 60 seconds (more, probably)
run rshell and connect port A GPIOs change.
start repl port A GPIOs stay same (changed from my settings)
<ctl>d port A GPIOs return to as I set them
unplug USB connector port A GPIOs stay as I set them for 60 seconds (more, probably)
Does this trouble sound general, or platform specific?
my boot.py
Code: Select all
# boot.py -- run on boot-up
import machine
import pyb
#pyb.usb_mode('VCP+MSC') # act as a serial and a storage device
pyb.usb_mode('VCP') # act as a serial and not as a storage device
pyb.main('pulser_main.py')