Search found 75 matches
- Thu Sep 03, 2020 7:36 am
- Forum: Development of MicroPython
- Topic: Repeat module in release firmware?
- Replies: 3
- Views: 2303
Repeat module in release firmware?
help('modules') __main__ gc uasyncio/stream upip_utarfile _boot inisetup ubinascii upysh _onewire machine ubluetooth urandom _thread math ucollections ure _uasyncio micropython ucryptolib urequests _webrepl neopixel uctypes uselect apa106 network uerrno usocket btree ntptime uhashlib ussl builtins ...
- Thu Sep 03, 2020 6:10 am
- Forum: Programs, Libraries and Tools
- Topic: What's mean 'opt=3' in manifest.py for frozen ?
- Replies: 7
- Views: 3934
Re: What's mean 'opt=3' in manifest.py for frozen ?
Thanks.
It looks like not a python script.
It looks like not a python script.
- Tue Sep 01, 2020 11:15 pm
- Forum: Programs, Libraries and Tools
- Topic: What's mean 'opt=3' in manifest.py for frozen ?
- Replies: 7
- Views: 3934
What's mean 'opt=3' in manifest.py for frozen ?
In some manifest.py file, likes:
What's mean
Code: Select all
freeze(
"..",
(
"xx/xxx.py",
...
),
opt=3,
)
Code: Select all
opt=3
- Fri Aug 28, 2020 6:22 pm
- Forum: MicroPython pyboard
- Topic: pyb.I2C.SLAVE can't discover.
- Replies: 5
- Views: 3158
pyb.I2C.SLAVE can't discover.
I create a I2C slave via:
then connect PB6(scl), PB7(sda), GND to other board, but i2c scan result is empty on other board, and I try to connect it to RPi's I2C also.
What step I missing ?
Code: Select all
i2c = pyb.I2C(1, pyb.I2C.SLAVE, addr = 0x43)
What step I missing ?
- Thu Aug 20, 2020 11:58 pm
- Forum: General Discussion and Questions
- Topic: Can't recognize as 'HID-compliant mouse' on Windows 8.1
- Replies: 1
- Views: 1140
Can't recognize as 'HID-compliant mouse' on Windows 8.1
STM32F405RGT6 pyb.usb_mode('VCP+HID') on Windows 8.1, can't recognize as 'HID-compliant mouse', it recognize as 'HID Keyboard Device', and can't works as mouse or keyboard; on Windows XP, recognize as 'HID-compliant mouse' correct; on Linux (RPi), works fine as HID mouse; I try to specify other VID ...
- Thu Aug 20, 2020 2:16 am
- Forum: General Discussion and Questions
- Topic: USB 'MSC' expose both Flash and SDCard ?
- Replies: 0
- Views: 1546
USB 'MSC' expose both Flash and SDCard ?
Refer http://docs.micropython.org/en/latest/library/pyb.html : If enabling MSC mode, the msc parameter can be used to specify a list of SCSI LUNs to expose on the mass storage interface. For example msc=(pyb.Flash(), pyb.SDCard()). I config with pyb.usb_mode('VCP+MSC', msc = (pyb.Flash(), pyb.SDCard...
- Wed Aug 19, 2020 9:37 pm
- Forum: General Discussion and Questions
- Topic: Can't switch usb_mode ?
- Replies: 4
- Views: 2630
Re: Can't switch usb_mode ?
Solved, the USB mode can't switch in REPL after boot, so it must be config in boot.py .
- Wed Aug 19, 2020 7:54 am
- Forum: General Discussion and Questions
- Topic: Can't switch usb_mode ?
- Replies: 4
- Views: 2630
Re: Can't switch usb_mode ?
Nothing errors receive, just can't switch USB mode only.
I run ADAFRUIT_F405_EXPRESS build (and try PYBLITEV10 firmware also) on a STM32F405RG DIY board (minimal system),
is it the USB operations depend hardware configure ?
I run ADAFRUIT_F405_EXPRESS build (and try PYBLITEV10 firmware also) on a STM32F405RG DIY board (minimal system),
is it the USB operations depend hardware configure ?
- Tue Aug 18, 2020 9:10 pm
- Forum: General Discussion and Questions
- Topic: Can't switch usb_mode ?
- Replies: 4
- Views: 2630
Can't switch usb_mode ?
I try to switch USB mode using:
'VCP+MSC'
'VCP+MSC'
'VCP+MSC'
How should I switch the USB mode?
Code: Select all
pyb.usb_mode()
Code: Select all
pyb.usb_mode('VCP+HID')
pyb.usb_mode()
Code: Select all
pyb.usb_mode('VCP+MSC+HID')
pyb.usb_mode()
How should I switch the USB mode?
- Sat Aug 15, 2020 9:05 am
- Forum: Other Boards
- Topic: [ADAFRUIT_F405_EXPRESS]How to add new Pin define ?
- Replies: 0
- Views: 1589
[ADAFRUIT_F405_EXPRESS]How to add new Pin define ?
In ADAFRUIT_F405_EXPRESS ,the PA8 not define(although the pin not connect), how to define it if I want to do that?
https://github.com/micropython/micropyt ... 05_EXPRESS
https://github.com/micropython/micropyt ... 05_EXPRESS