Search found 54 matches

by JumpZero
Wed Jan 27, 2021 6:11 pm
Forum: Raspberry Pi microcontroller boards
Topic: Raspberry Pi Pico: how to access the filesystem
Replies: 27
Views: 38379

Re: Raspberry Pi Pico: how to access the filesystem

Ok thanks, I think I was missing of RAM. I'll try again when I'll receive the Pico.
by JumpZero
Wed Jan 27, 2021 12:22 pm
Forum: Raspberry Pi microcontroller boards
Topic: Raspberry Pi Pico: how to access the filesystem
Replies: 27
Views: 38379

Re: Raspberry Pi Pico: how to access the filesystem

I CAN edit files & write them back with the linux version of my pye editor. Some time ago I had no success trying your pye editor. But reading this now it seems I misunderstood. pye runs on the linux host, not on the micropython device itself? edit: my Raspberry Pi Pico isn't yet arrived. Ordered l...
by JumpZero
Wed Jan 27, 2021 12:19 pm
Forum: Raspberry Pi microcontroller boards
Topic: Raspberry Pi Pico: how to access the filesystem
Replies: 27
Views: 38379

Re: Raspberry Pi Pico: how to access the filesystem

If on the target a file board.py exists, which define a symbol called name with the name of that board, pyboard mounts the board under that name. e.g a board,py file with the content: name = "esp32" causes the board mounter under the directory /esp32. Side effect: If you use: name = "" the board wi...
by JumpZero
Wed Jan 27, 2021 8:49 am
Forum: Raspberry Pi microcontroller boards
Topic: Raspberry Pi Pico: how to access the filesystem
Replies: 27
Views: 38379

Re: Raspberry Pi Pico: how to access the filesystem

Default builds for ESP8266, ESP32 and CircuitPython also mount at '/'. I was thinking of PyBoard and some ESP builds (eg M5Stack) with their /flash to be exceptions :) ESP8266 and ESP32 with rshell are always mounted as /pyboard (With default last stable generic build from here micropython.org) I n...
by JumpZero
Sat Oct 17, 2020 4:22 pm
Forum: Programs, Libraries and Tools
Topic: Lost in the lib and doc
Replies: 4
Views: 2481

Re: Lost in the lib and doc

Hi Peter, I actually already found your tutorial and also this one . I have tested some exemples. I must say that I'm impressed by: 1 - The possibility to run simultaneous tasks, the computing power of so cheap hardware (almost computer no more microcontroller!) 2 - The quality and of your doc Again...
by JumpZero
Fri Oct 16, 2020 2:19 pm
Forum: Programs, Libraries and Tools
Topic: Lost in the lib and doc
Replies: 4
Views: 2481

Re: Lost in the lib and doc

Thanks for clarification @pythoncoder

Ok it makes sens the built-in modules aren't in the Micropython-lib but they are well documented in the doc so it's fine. And the modules in the lib are current.
And unfortunately I've hit uasyncio... :lol:

So I now feel on a stable base! Thanks again
by JumpZero
Fri Oct 16, 2020 11:14 am
Forum: Programs, Libraries and Tools
Topic: Lost in the lib and doc
Replies: 4
Views: 2481

Lost in the lib and doc

Hello, I wonder how Micropython-lib is accurate/up-to-date/organised related to the documentation For instance: I flashed the latest stable v1.13 on a ESP8266. From REPL I can do import umqtt.simple (or umqtt.robust) and use it as expected. However if I want to read the code of that module to unders...
by JumpZero
Fri May 10, 2019 4:09 pm
Forum: Programs, Libraries and Tools
Topic: I'm searching a modbus library
Replies: 6
Views: 5862

Re: I'm searching a modbus library

Hi!
Not sure if this help but a few years ago I used pymodbus on Raspberry pi it was not very difficult and worked well, it's Python not microPython but may help
Also there is this micropython-modbus for ESP32 (never tested) https://github.com/techbase123/micropython-modbus
by JumpZero
Fri May 10, 2019 3:50 pm
Forum: General Discussion and Questions
Topic: Structured prog & global variables
Replies: 8
Views: 4645

Re: Structured prog & global variables

Hi! Actually very interesting discussion. @dhylands you are right the proper way to access the module global variable "bar" is: "my_module.bar" this avoids confusion, keeping in mind that the main programme global variable "bar" is another variable. @pythoncoder Yes this is a Python strength: the gu...
by JumpZero
Thu May 09, 2019 9:15 am
Forum: General Discussion and Questions
Topic: Structured prog & global variables
Replies: 8
Views: 4645

Re: Structured prog & global variables

Hello, We know that using global variables isn't a good practice. But it's sometimes convenient and Python permits it. However I was recently surprised to find that global variables are global to a module not across all modules. Reading the doc teachs me this is normal behavior. So that's ok when yo...