Search found 5104 matches

by pythoncoder
Fri Apr 23, 2021 5:58 am
Forum: Raspberry Pi microcontroller boards
Topic: mandelbrot calculation and strange behavior in PICO
Replies: 8
Views: 577

Re: mandelbrot calculation and strange behavior in PICO

The USB problems I experienced have been fixed in V1.15. Have you updated?
by pythoncoder
Fri Apr 23, 2021 5:55 am
Forum: General Discussion and Questions
Topic: Fade 1 image to show another.
Replies: 8
Views: 432

Re: Fade 1 image to show another.

I love that watch display with all its detail - even shadows under the hands. I know just how much work it takes to produce a display as pretty as that.
by pythoncoder
Fri Apr 23, 2021 5:47 am
Forum: MicroPython pyboard
Topic: Please could some Pyboard 1.x users try this
Replies: 2
Views: 92

Re: Please could some Pyboard 1.x users try this

Thank you, Dave, that confirms my observations (my cards are at least a year old). Given that your new card works, maybe Kingston have fixed a problem.
by pythoncoder
Thu Apr 22, 2021 5:17 pm
Forum: MicroPython pyboard
Topic: Please could some Pyboard 1.x users try this
Replies: 2
Views: 92

Please could some Pyboard 1.x users try this

This is in support of PR6007 . I experienced problems with Kingston SD cards where the SPI bus is shared with other peripherals. The fault is fixed by a simple change to sdcard.py. The question is whether I have some specially dodgy SD cards or whether others are affected. In my testing Sandisk card...
by pythoncoder
Thu Apr 22, 2021 7:19 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico MicroPython with networking over USB
Replies: 8
Views: 289

Re: Pico MicroPython with networking over USB

HermannSW wrote:
Thu Apr 22, 2021 7:15 am
...
The point is to give Pico MicroPython networking, so that any usocket code will work on it as is.
...
When I will have usocket running with lwIP over USB, I will revisit the connected ESP01 and get hopefully "real" Wifi networking for the Pico.
Light dawns :D
by pythoncoder
Thu Apr 22, 2021 7:11 am
Forum: ESP32 boards
Topic: Some pins are in HIGH mode after reboot
Replies: 2
Views: 72

Re: Some pins are in HIGH mode after reboot

Yes. In general microcontrollers boot up with pins floating: any other option would be potentially unsafe to connected peripherals. If you want a pin to start at a defined level, an external resistor is the solution.
by pythoncoder
Thu Apr 22, 2021 7:08 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico MicroPython with networking over USB
Replies: 8
Views: 289

Re: Pico MicroPython with networking over USB

I may be wrong but my understanding of this project is that the Pico/ESP8266-01 combination hosts an HTTPS website on one core while running arbitrary Python code on the other. The Python side supports a REPL over UART for debugging. This could have plenty of applications. As you say, I imagine you ...
by pythoncoder
Wed Apr 21, 2021 5:25 pm
Forum: ESP32 boards
Topic: micropython-nano-gui with m5stickc.
Replies: 2
Views: 83

Re: micropython-nano-gui with m5stickc.

The rgb() function you copied converts 24-bit rgb color values to an 8-bit result, for use with a bytearray buffer. This is a RAM saving device: I use GS8 mode for the underlying framebuf, with values being expanded to 12-bit at runtime. I'm surprised the result looks remotely correct! Given that yo...
by pythoncoder
Tue Apr 20, 2021 12:36 pm
Forum: Pyboard D-series
Topic: ntptime kills the wifi station, hard reset required to fix
Replies: 11
Views: 575

Re: ntptime kills the wifi station, hard reset required to fix

... Is that -3155673600 indicative of the problem? Actually after trying this a few more times it seems if I don't wait more than one (?) second between tries then I get the error... If you look at ntptime.py you'll find this line . A return value of -3155673600 means that the time() function has f...
by pythoncoder
Tue Apr 20, 2021 12:17 pm
Forum: ESP32 boards
Topic: CORE in ESP32
Replies: 1
Views: 122

Re: CORE in ESP32

No. FreeRTOS runs on one core and MicroPython on the other. MicroPython supports pre-emptive multitasking via _thread and cooperative multitasking via uasyncio, but in both cases (on ESP32) execution is on a single core.