micropython Questions
1
Note: despite I'm beginning my question with a microdot example, this is just because I've first observed the later described behavior with an attempt to re-start a microdot server after aborting a...
Sestertium asked 19/8 at 6:7
3
I have used the software Thonny to send programs to my raspberry pi pico. I am trying to make a specific program auto run when my pico is plugged in. At the moment another program which is on the p...
Sidonia asked 13/2, 2021 at 9:27
4
Solved
I have the following MicroPython code running on an ESP32:
import network
wlan_sta = network.WLAN(network.STA_IF)
wlan_sta.active(True)
wlan_mac = wlan_sta.config('mac')
print("MAC Address:&...
Mainspring asked 17/4, 2022 at 14:31
3
Solved
I use code from here. After running multiple times from Thonny without issue I got:
OSError: [Errno 12] ENOMEM
I used nuke.uf2 to clear storage on Raspberry Pi Pico W. The error re-occurred after...
Delaunay asked 22/12, 2022 at 2:17
5
I recently tried to load MicroPython on ESP8266 board, but failed. To do that I had to install esptool. I successfully installed it but when I wanted to use it, it would not work.
For instance,
e...
Fat asked 26/2, 2019 at 18:42
4
Solved
Because of micropython doesn't import the datetime.
I want use time or utime modules to get current time.
But the time.localtime() result is
like (2000, 1, 1, 0, 12, 35, 5, 1)
I guess the time ...
Raffarty asked 12/12, 2019 at 1:55
2
Solved
I have been trying to get my head around CRC32 calculations without much success, the values that I seem to get do not match what I should get.
I am aware that Python has libraries that are capabl...
Fatty asked 10/1, 2017 at 9:1
3
Solved
I am trying to implement micropython on unix, which requires libffi-dev. I installed in this way brew install libffi-dev. But it seems that there is no libffi-dev can be found.
Is there any way t...
Discomfiture asked 22/6, 2017 at 17:52
2
Solved
Most Micropython ports contain a 'micropython' module, which has a specific function called 'const()'. I am led to believe it behaves a lot like '#define' in C, however, it only accepts integers. D...
Adz asked 28/1, 2020 at 10:34
1
Solved
I'm doing this on esp8266 with micro python and there is a way to clear OLED display in Arduino but I don't know how to clear display in micropython i used ssd1306 library to control my OLED
and th...
Lutherlutheran asked 10/1, 2022 at 17:31
1
Solved
I'm using VScode to write MicroPython code.
The linting and code completion is quite decent, but as there are quite a few differences between CPython and MicroPython, I think it could be better.
I...
Habakkuk asked 11/1, 2019 at 11:7
1
Solved
hi im having error with this code but it runs in python shell could any body help me
from machine import Pin
import time
import network
import urequests
p0 = Pin(0,Pin.OUT)
wlan = network.WLAN(netw...
Illegitimate asked 28/9, 2020 at 8:17
3
Solved
I am using a Circuit Playground Express from Adafruit, and I'm programming it with Circuit Python.
I want to read data transmitted from the computer to which the Circuit Playground Express is conn...
Inflated asked 22/2, 2018 at 7:54
1
Solved
I have an ESP32 connected to a computer via USB port. I can use the ESP32 to send data over the serial connection using the print statement, I need to periodically write commands into the ESP32. Ho...
Quantum asked 20/4, 2020 at 16:48
2
I want to send data in the Graphite database with a Esp32 and for that I need the timestamp which must be in Epoch format.
It's been 2 hours that I search on the Internet and I can not find anythi...
Hitt asked 22/7, 2019 at 23:9
1
Solved
Environment: cooperative RTOS in C and micropython virtual machine is one of the tasks.
To make the VM not block the other RTOS tasks, I insert RTOS_sleep() in vm.c:DISPATCH() so that after every ...
Sterrett asked 25/6, 2018 at 17:41
4
Solved
I have a NodeMCU ESP8266 board running MicroPython. I'm running a web server on my ESP8266. This is my first IoT project based on one of these boards.
The below is a snippet of the code.
This is...
Insentient asked 5/3, 2017 at 7:29
0
I am writing some simple code using MicroPython running on a Digistump Oak, which is basically an ESP8266 breakout board. I'm trying to understand the behavior that I see when performing periodic r...
Kinky asked 8/2, 2017 at 0:11
1
Solved
I have a board with an ESP8266 chip running Micropython firmware v1.8.7. My requirement is to use WebREPL via the University Wi-Fi, which uses WPA2 Enterprise EAP-MSCHAPv2 authentication. My Google...
Rosabelle asked 9/1, 2017 at 16:28
1
© 2022 - 2024 — McMap. All rights reserved.