Search found 2754 matches
- Thu Sep 08, 2022 10:13 pm
- Forum: General Discussion and Questions
- Topic: Continuity Tester
- Replies: 6
- Views: 30129
Re: Continuity Tester
Insert usual disclaimer here about messing with mains!! It would obviously be very dangerous to plug this into a hot socket. My first thought would be to have the "transmitter" board send a very low bit rate unique pattern on the three pins. Simplest example would be just to do varying length pulses...
- Thu Sep 08, 2022 3:44 pm
- Forum: General Discussion and Questions
- Topic: hardware i2c deprecated
- Replies: 13
- Views: 62648
Re: hardware i2c deprecated
Thank you for this update about how i2c can be instantiated in the newer MicroPython versions. Is there a way to turn off the "Warning: I2C(-1,...)..." message that is sent to shell? I am using the hardware I2C pins of my device and the machine.I2C() instantiation accordingly. I don't want the user...
- Thu Sep 08, 2022 3:30 pm
- Forum: Pyboard D-series
- Topic: os.statvfs() returns negative numbers in tuple
- Replies: 9
- Views: 103310
Re: os.statvfs() returns negative numbers in tuple
MicroPython v1.19.1-2-g8e3f8fb on PYBD-SF2W Also can't find this commit in the history... The following script might reproduce the problem, perhaps increase the number of files to create. No exception is reported when flash boundary is exceeded. I'm not sure I understand how to run this script. Her...
- Thu Sep 08, 2022 3:12 pm
- Forum: Pyboard D-series
- Topic: WLAN access point not working micropython 1.19.1
- Replies: 3
- Views: 27456
Re: WLAN access point not working micropython 1.19.1
MicroPython v1.19.1-1-g093d292 I can't find this commit in the history... Where did you download this from? What's the full .dfu filename? When i use the code you mentioned an exception is raised saying 'unknown config param'. It has something to do with the security parameter. Maybe it was added a...
- Thu Sep 08, 2022 2:48 am
- Forum: Pyboard D-series
- Topic: WLAN access point not working micropython 1.19.1
- Replies: 3
- Views: 27456
Re: WLAN access point not working micropython 1.19.1
Which board are you using? You're posting in Pyboard-D but "authmode" has never been a supported config argument for the Pyboard-D as far as I can tell, only on ESP32 and ESP8266. On Pyboard-D the config argument is "security". I can confirm the following code works for me on ESP32 & ESP8266 on 1.19...
- Wed Sep 07, 2022 11:45 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Rp2040 Lite purple 16M
- Replies: 1
- Views: 23025
Re: Rp2040 Lite purple 16M
I tried to google search for "Rp2040 Lite purple 16M" but didn't see any obvious result.
You could probably just run the "Pico LiPo (16MiB)" firmware from the downloads page and it will work fine and use all the flash.
(Also, please make new posts at GitHub Discussions instead)
You could probably just run the "Pico LiPo (16MiB)" firmware from the downloads page and it will work fine and use all the flash.
(Also, please make new posts at GitHub Discussions instead)
- Wed Sep 07, 2022 11:43 pm
- Forum: ESP32 boards
- Topic: Stumping TypeError-appreciate help...
- Replies: 6
- Views: 23836
Re: Stumping TypeError-appreciate help...
I am using MicroPython v1.12 on an ESP32 WROOM32 module. Very unlikely that this is the cause, but that is several major releases ago. I had been running a script without problems, but suddenly I got a consistent 'TypeError: can’t convert ‘float’ object to str implicitly’ error. What changed betwee...
- Wed Sep 07, 2022 11:27 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: API for Microsoft OneDrive
- Replies: 3
- Views: 23807
Re: API for Microsoft OneDrive
A REST API is a protocol that works over HTTP and uses JSON to format messages. You can use it from any language that supports HTTP and JSON (including micropython).
- Tue Sep 06, 2022 2:51 am
- Forum: ESP32 boards
- Topic: How to use fopen in the extended module?
- Replies: 1
- Views: 19144
Re: How to use fopen in the extended module?
As per the message, please open new posts at GitHub discussions. https://github.com/orgs/micropython/discussions
MicroPython does not make the libc file methods available. If you want to access the filesystem you need to do it through MicroPython's VFS layer. See extmod/vfs.h
MicroPython does not make the libc file methods available. If you want to access the filesystem you need to do it through MicroPython's VFS layer. See extmod/vfs.h
- Mon Sep 05, 2022 1:18 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Setting hostname on Pico W
- Replies: 12
- Views: 41438
Re: Setting hostname on Pico W
I've successfully compiled Micropython for the Pico W so I have things set up right. How do I do the compile flag to use the drivers/cyw43 version so I can set the hostname? It might not compile yet but I'd like to try. This isn't supported yet. Making this work that way isn't worth the trouble. In...