Skip to main content
Filter by
Sorted by
Tagged with
Advice
1 vote
3 replies
99 views

Premise: I've made a small sound-and-light circuit using an ISO chip (RP2040) and a buzzer connected to a PWM output. I can therefore control the frequency using the freq() function and the volume, ...
Ash's user avatar
  • 9,461
Best practices
0 votes
0 replies
53 views

In micropython, lots of very useful stuff you'd find (such as in regular Cython) isn't available because of code space. As just one example, on my stock linux machine there are 67 entries in math....
ljwobker's user avatar
  • 1,038
Advice
0 votes
17 replies
102 views

I want to async not only call the cpp functions in Python but return Python functions in my cpp functions to make callbacks. Example python script import ffi import exemplecpp def hello(): print(...
NeverBackDown's user avatar
1 vote
1 answer
60 views

I have a PiPico2 library for Real Time Clock from here: https://github.com/mchobby/esp8266-upy/tree/master/pcf8523 Library code as below (pcf8523.py). I have used the simple example code and just can'...
user878557's user avatar
0 votes
1 answer
101 views

I am using Micropython on the ESP32. I have the following string, which includes the unicode character \xb0. a = 'abc\xb0def' First, I will need to change the notation to the \U00XX form, second I ...
Sebastian's user avatar
  • 442
2 votes
0 answers
104 views

tl;dr: Using a DNS server on a local network causes socket.getaddrinfo() to experience an error: OS Error: [Error 103] ECONNABORTED Using an internet DNS server works. Details: I have a very simple ...
Richard Fall's user avatar
0 votes
1 answer
82 views

Extract of longer program. Just to toggle the .side pin and then quit the PIO program. Causes loop and have to nuke the PICO! Loops before the 'Run' print. Thanks TypeError: function takes 2 ...
user7117046's user avatar
0 votes
1 answer
239 views

For a SD card driver I tried to calculate CRC7 for the commands. Now, if I "enable CRC7 check" with CMD59, I get errors with some SD cards. But if I "disable CRC7" check with CMD59,...
user31736217's user avatar
0 votes
1 answer
31 views

If anybody is conform with SIM800L, I've got a working design regarding sending data through TCV via SIM800L, building up the network is ok. What is working: AT+CIPSTART waiting about 2 sec AT+CIPSEND=...
Erkman's user avatar
  • 1
2 votes
1 answer
98 views

I have a python program [pylarexx] (which I did not write) that reads temperature sensors and publishes two MQTT topic messages [..../config and ..../state ] to a Broker running with Home Assistant [...
Jim Evans's user avatar
2 votes
0 answers
180 views

I’m working on a Raspberry Pi Pico and MCP2515 CAN bus setup using MicroPython. I’m simulating OBD-II vehicle speed responses (PID 0x0D). At a 100 ms request cycle from my USB-to-CAN adapter (Linux ...
vanitasu's user avatar
0 votes
0 answers
36 views

I'm trying to connect my NodeMCU (ESP8266) device running Micropython to AWS IoT but wwhile running the code I'm getting the following error: start connecting Connected: True Key and Certificate ...
Shekhar's user avatar
  • 888
0 votes
1 answer
103 views

I have an app written in mincropython sitting on an XBEE LTE/IoT radio. It scans advertisenments from iBeacon enabled devices. I am trying to find any dicumentation to allow me to parse the hex I get ...
Winston Smith's user avatar
0 votes
1 answer
189 views

My PICO W hangs sometimes after calling deinit(). I'm using Micropython v1.25.0 (2025-04-15) Please see this example script: import network import time from time import sleep import urequests import ...
user1915746's user avatar
0 votes
0 answers
88 views

I'm pretty new to Python, & I'm attempting to set up an access point from a Pico W to provide info to a client (eg, an iPhone). The connection is successful, but my iPhone app only receives ...
SomaMan's user avatar
  • 4,174

15 30 50 per page
1
2 3 4 5
76