Search found 2534 matches

by Roberthh
Mon Apr 12, 2021 4:36 pm
Forum: General Discussion and Questions
Topic: ESP32 SPI
Replies: 2
Views: 103

Re: ESP32 SPI

SPI itself is sufficiently fast. for your device you have to send ~300k bits for a full screen. At 10MHz SPI that takes about 30 ms. Micropython is slow. I do not know how you have set up your code, but if you write single pixels than you have a lot of overhead. It get's faster if you write larger p...
by Roberthh
Mon Apr 12, 2021 12:31 pm
Forum: ESP32 boards
Topic: Cannot Get UART Rx to Work
Replies: 1
Views: 51

Re: Cannot Get UART Rx to Work

uart.read() is non blocking, and uart.write() is buffered. That means that the call to uart.write() returns before the data has been sent. At that very moment no data has been reecived yet, and uart.read() returns with None. Sending 2 bytes at 9600 takes 2 ms. So wehat can you do: a) wait 2 ms befor...
by Roberthh
Sun Apr 11, 2021 7:35 pm
Forum: Raspberry Pi microcontroller boards
Topic: Windows fail to recognize Pi Pico when running this code
Replies: 4
Views: 132

Re: Windows fail to recognize Pi Pico when running this code

Better save your code before updating, even when replacing the uf2 should not affect the file system.
There was a change in the USB handling recently, leading to more reliable registering of the device. So it might be worth trying the update.
by Roberthh
Sun Apr 11, 2021 6:12 pm
Forum: Raspberry Pi microcontroller boards
Topic: Windows fail to recognize Pi Pico when running this code
Replies: 4
Views: 132

Re: Windows fail to recognize Pi Pico when running this code

Which firmware version is installed on the Pico?
by Roberthh
Fri Apr 09, 2021 5:11 pm
Forum: Drivers for External Components
Topic: Variable wird nicht übergeben
Replies: 2
Views: 85

Re: Variable wird nicht übergeben

Add the line

global sendung

Into int_handler() at the top.
by Roberthh
Fri Apr 09, 2021 9:08 am
Forum: ESP32 boards
Topic: Compiling with btree module support
Replies: 16
Views: 549

Re: Compiling with btree module support

Btree is included now. You should have it in the daily build tomorrow.
by Roberthh
Fri Apr 09, 2021 6:47 am
Forum: ESP32 boards
Topic: Trying to connect HUZZAH32 ESP32 Feather to WIFI
Replies: 2
Views: 115

Re: Trying to connect HUZZAH32 ESP32 Feather to WIFI

after 'wlan.connect('ssid', 'password')' the connection does not happen immediately. You have to wait until the device is connected, checking with wlan.isconnected(). You can set the ip address before calling wlan.connect(). Then that one is used right from the start. P.S.: That's the script I use a...
by Roberthh
Thu Apr 08, 2021 6:13 pm
Forum: ESP32 boards
Topic: Compiling with btree module support
Replies: 16
Views: 549

Re: Compiling with btree module support

The btree module is about to be included again for the ESP32. Damien is working on it.
by Roberthh
Thu Apr 08, 2021 5:12 pm
Forum: Raspberry Pi microcontroller boards
Topic: machine.UART how to skip read?
Replies: 2
Views: 127

Re: machine.UART how to skip read?

Update the Firmware to the newest daily build. The read() is non-blocking.
by Roberthh
Thu Apr 08, 2021 3:12 pm
Forum: General Discussion and Questions
Topic: RGB led problem
Replies: 6
Views: 166

Re: question

Everything is fine. Just the way LED is connected, led.value(0) switched the led ON, led.value(1) switches it OFF.