Search found 3466 matches

by dhylands
Wed Sep 09, 2020 4:25 pm
Forum: MicroPython pyboard
Topic: Best OS to support development with MicroPython and Pyboard..
Replies: 17
Views: 2462

Re: Best OS to support development with MicroPython and Pyboard..

@dhylands Hmm. I'm currently using Mac OS Catalina and not having any issues. . It seems when I update Catalina, it removes or damages the SilabsUSBDriver for UART, which I then have to reinstall. Furthermore, I've been getting reflush-tree errors on uPyCraft, which ultimately led me to decide to g...
by dhylands
Tue Sep 08, 2020 10:28 pm
Forum: MicroPython pyboard
Topic: Best OS to support development with MicroPython and Pyboard..
Replies: 17
Views: 2462

Re: Best OS to support development with MicroPython and Pyboard..

Hmm. I'm currently using Mac OS Catalina and not having any issues.

If I had to pick, I would still pick linux over Mac for doing development with MicroPython.
by dhylands
Tue Sep 08, 2020 9:13 pm
Forum: ESP32 boards
Topic: Try Multiple WIFI Connections
Replies: 3
Views: 268

Re: Try Multiple WIFI Connections

Just looking at the logic, if it doesn't connect to the first AP, then it's going to get stuck at the while pass loop at the end of connecting to the first AP. You probably need a timeout, and if it fails to connect after say 10 seconds (or whatever is appropriate) then continue on to try the next S...
by dhylands
Mon Sep 07, 2020 10:26 pm
Forum: General Discussion and Questions
Topic: Remove "dirty" in boot message
Replies: 11
Views: 565

Re: Remove "dirty" in boot message

Rather than fork a repository of micropython for a new board, I create a repository just for the board directory. Like this:
https://github.com/dhylands/wiki/wiki/M ... oard-files

Then I cd in the micropython/ports/stm32/boards directory and git clone my board directory.
by dhylands
Thu Sep 03, 2020 7:13 pm
Forum: MicroPython pyboard
Topic: boot file system and SKIPSD
Replies: 2
Views: 169

Re: boot file system and SKIPSD

Looking at the source code: https://github.com/micropython/micropyt ... ain.c#L643

It either adds /sd and /sd/lib OR /flash and /flash/lib to sys.path. It will look for boot.py and main.py in the paths shown in sys.path.
by dhylands
Thu Sep 03, 2020 4:37 pm
Forum: micro:bit boards
Topic: Two way serial communication
Replies: 2
Views: 661

Re: Two way serial communication

I put together some examples where json is used to send data back and forth. https://github.com/dhylands/json-ipc Note that "realtime" doesn't really mean anything in this context. If you have a device that reports something once per second, and you can display it once per second then you're doing i...
by dhylands
Thu Sep 03, 2020 4:33 pm
Forum: ESP32 boards
Topic: rshell query
Replies: 2
Views: 196

Re: rshell query

Hmm. I think that rshell just does an ls on the root directory of the device and apparently it's showing all of the files that appear. At the very least it should only show directories. I think that some ESP32's put the main filesystem at /flash and some use / (and it may depend on firmware version)...
by dhylands
Thu Sep 03, 2020 4:24 pm
Forum: MicroPython pyboard
Topic: rshell issue
Replies: 4
Views: 244

Re: rshell issue

ls / is showing you the root filesystem of your host. ls /pyboard is showing you the root filesystem of the pyboard (which is just other virtual directories - you can't store files here). rshell creates a "virtual" directory for each board that's connected. By default, the first one will have a name...
by dhylands
Thu Sep 03, 2020 3:08 am
Forum: MicroPython pyboard
Topic: rshell issue
Replies: 4
Views: 244

Re: rshell issue

Try using the boards command. It will show your board and the directories that were detected on the board.

If /sd isn't listed, then the /sd is from your host computer and not from the pyboard.
by dhylands
Mon Aug 31, 2020 4:53 am
Forum: Hardware Projects
Topic: projects for beginners
Replies: 6
Views: 3431

Re: projects for beginners