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

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


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


General Discussion and Questions • Re: Using machine Pin class no way to get...

I could not get those to work, I wrote the following function:def extract_gpio_pin(pin_struct): # Use a regular expression to find the GPIO number in the pin struct since .id() and .pin() don't work...

View Article


Pyboard D-series • Re: Overflow in time.localtime()

HelloI have get exatcly the same issue on NUCLEO-WB55 :CODE: MicroPython v1.22.2 on 2024-02-22; NUCLEO-WB55 with STM32WB55RGV6Type "help()" for more information.>>> from time import...

View Article

Raspberry Pi microcontroller boards • Re: Custom board with RP2040 impossible...

Lobo-T wrote: ↑Tue Jul 12, 2022 12:11 pm3) Wrong value for the 27 Ohm series resistors on the USB lines.How precise does the value of the series resistors on the USB lines have to be?Statistics:...

View Article

ESP32 boards • Re: How to generate checksum using micropython?

Reviewing this post years later and I wish I could give a standing ovation haha. That was an impressive analysis on so little input data.Statistics: Posted by BetterAutomations — Sun May 26, 2024 8:06...

View Article


Programs, Libraries and Tools • Re: Having an issue getting the lib for the...

The ENABLE in question is an input to the OLED display. If this input is not high (either by connecting it to a pin which you set to ON, or by using a 10k resistor to the 3.3v power line) the device...

View Article

ESP32 boards • Re: Flash encryption support

Hi Mauro,have you documented how to do it ?I am struggling to resolve all bits.Statistics: Posted by jcolo — Mon Oct 28, 2024 7:58 pm

View Article
Browsing latest articles
Browse All 36 View Live