Quantcast
Channel: MicroPython Forum (Archive)
Browsing latest articles
Browse All 30 View Live

Image may be NSFW.
Clik here to view.

Programs, Libraries and Tools • Re: VS Code Pymar microython

Do you need to import the official machine, otherwise it may result in incompatible versions. Statistics: Posted by Jackli — Thu May 25, 2023 7:37 am

View Article



General Discussion and Questions • Re: Build Errors lwip

kcoelho wrote: ↑Fri Aug 16, 2019 3:55 pmThis is resolved. Thank you. I am however, having issues understanding the network library/classOn Linux after I enter the REPL command prompt and enter:import...

View Article

General Discussion and Questions • Re: Maximum timeout period for...

uasyncio.sleep(t).Sleep for t seconds (can be floating point)This is a collaborative programStatistics: Posted by Jackli — Thu May 25, 2023 8:10 am

View Article

Programs, Libraries and Tools • Re: Abstract class in MicroPython

Class name:Phylumclass MyClass: i=123 def f(self): print("correct")Statistics: Posted by Jackli — Thu May 25, 2023 8:17 am

View Article

General Discussion and Questions • Re: Migration Away from MicroPython.org to...

GitHub discussions have more features for posts and replies. Emoticon replies, accepted answers, thread replies, etc.GitHub discusses using more familiar Markdown syntax to write posts, especially...

View Article


MicroPython pyboard • Re: I want to use REPL while using uasyncio

+5 years... check out aiorepl:https://github.com/micropython/micropyt ... on/aioreplStatistics: Posted by FraggaMuffin — Mon May 29, 2023 4:46 am

View Article

ESP8266 boards • Re: sta_if.isconnected() unexpectedly returns false

hello friendsIn my case too I was unable to use isconnected() to verify the connection state in a script,the result would be the same no matter if connected or disconnected.Why it does happen , I have...

View Article

Programs, Libraries and Tools • Re: Install aioble with upip?

That might help:https://github.com/micropython/micropyt ... ree/masterfor me, the following did the trick:import mipmip.install("aioble")import aiobleStatistics: Posted by PieyeGmbH — Tue Jun 27, 2023...

View Article


Other Boards • Re: Simple cheap small board: NRF52 ?

Hi. I am looking for ibeacon example on NRF52. I search in the forums but can not find the right way to do. I have run successfully Eddystone with temperature sensor.Any body can help?Statistics:...

View Article


ESP8266 boards • Re: Programming ESP8266 on Chromebook in Nov 2019; with both...

PixelShady wrote: ↑Sun Nov 03, 2019 3:07 pmHave been searching online and got a lot of mixed information - some saying that you need an Arduino to sit between the chromebook and ESP8266, because an...

View Article

ESP32 boards • Re: Micropython on ESP32-C3

Hi,I dont know if this is the right place to ask my question.I bought some OLIMEX ESP32-C3-devkit-Lipo rev 1, and try to implementMicropython with THONNY. I tried many versions available on...

View Article

General Discussion and Questions • Re: ESPNow send function

MMliam wrote: ↑Sun Aug 28, 2022 11:50 pmESPNow code runs in ESP8266, throws an error in ESP32.Code:CODE: eNow = espnow.ESPNow()enRcvr = b'\x01\x02\x03\x04\x05\x06'devState = bytes('On',...

View Article

ESP32 boards • Re: Machine learning on ESP-32?

Hi,It's been 3+ years since the question was raised regarding the use of Micropython and ESP-EYE.Any news about this?Has anyone managed to do that and access the camera HW?Looking for such a solution...

View Article


General Discussion and Questions • Re: Organizing Custom Builds, Recommended...

Gee, I am super late to the thread, after starting it well over a year ago. Somehow I missed these replies. I thing the answer (for me) is twofold. For quick prototype projects, I would prefer the...

View Article

ESP32 boards • Re: wifi and ble not reliable on esp32-c3 port

Have you found a solution to this problem I am having the same issueStatistics: Posted by MATTYGILO — Tue Sep 05, 2023 1:24 pm

View Article


ESP32 boards • Re: ESP32: get which EXT1 pin caused wake

Just wondered if anyone had tested this with lightsleep() and/or on an ESP32S3?I am having some difficulty using gpios to wake from light sleep and call the irq() callback associated with the...

View Article

General Discussion and Questions • Re: Properly checking for errors during a...

esp32/network_wlan: Fix network.WLAN.status().https://github.com/micropython/micropython/pull/12932status() can return STAT_NO_AP_FOUND and STAT_WRONG_PASSWORD.This allows users to set the correct...

View Article


ESP8266 boards • Re: Has anyone had success?

pythoncoder wrote: ↑Tue Jan 03, 2017 8:08 amIs there an issue with the D1 Mini Pro? The D1 Mini works fine and is widely used. Alas I don't have a Pro: has anyone managed to run MicroPython on...

View Article

ESP8266 boards • Re: Flashing micropython on Wemos D1 Mini Pro

When I saw you post first in the discussion forum, I tried to build & load the ESP8266 firmware for a Wemos D1 mini. It worked as expected. Are you sure that you flashed the firmware with the...

View Article

Other Boards • Re: STM32 F7 Discovery

Hi,Is there a way for update the firmware... There isn't uasyncio for example...I bought the discovery H7... I wil try to adapt this firmware... If someone has an advise....Thanks.Statistics: Posted...

View Article

ESP32 boards • Re: Waveshare e-paper display how to rotate?

??? Sorry but, I really couldn't understand this thread.Rotating a frame buffer is as simple as (or I am missing something?):CODE: import framebufdef bufrotate(fb, w, h, defaultcolor=1): rotatebuf =...

View Article


MicroPython pyboard • Re: UART IRQ/Callbacks and Class Example

pythoncoder wrote: ↑Tue Feb 20, 2018 6:07 amdonikuy wrote: ↑Mon Feb 19, 2018 1:58 pm...Documentation indicates that irq is available...I don't know where you found that. The official docs have no...

View Article


General Discussion and Questions • Re: UART IRQ

danielm wrote: ↑Wed Mar 02, 2016 9:33 pmIt seems that interrupt function is called with UART class parameter, on which I can call function any() ( it does not work with read() ).CODE: >>> def...

View Article

General Discussion and Questions • Re: The ntptime module documenation is...

Hey - this is an old question on an almost-closed forum. But it's still showing up in search results and perhaps confusing users.The link given by the OP as the NTP documentation:Jibun no kage wrote:...

View Article

General Discussion and Questions • Re: Benchmark comparison of MicroPython...

Raspberry Pi Pico W w7 RP2040 @ 125 MHzPystone (1.2) time for 500 passes = 384 msThis machine benchmarks at 1302 pystones/second.Statistics: Posted by ckuehnel — Fri Mar 01, 2024 2:24 pm

View Article


Other Boards • Re: Micropython Unix port on Raspberry Pi - I2C/SPI?

I did this a few months ago for a personal project: https://github.com/AsensioL/smbus2/blob ... /smbus2.pyI only recently got a chance to upload it.Check the last 2 commits. In the most recent one I...

View Article

MicroPython pyboard • Re: ssd1306 OSError: I2C operation not supported

I2C was right, don't use pyb. The real reason for the error is confusing softI2C with hardware I2C. When you specify an I2C number (which i2c controller to use), then you are implicitly specifying it...

View Article

Other Boards • Re: asynchronous buffered SPI Slave interface

kbrafford wrote: ↑Thu Feb 22, 2018 12:59 amI need to implement a SPI slave capability that works in the following way:1) You set up your SPI port as a slave, with the polarity and phase of your...

View Article
Browsing latest articles
Browse All 30 View Live




Latest Images