bbcmicrobit / micropython

Port of MicroPython for the BBC micro:bit
https://microbit-micropython.readthedocs.io
Other
602 stars 284 forks source link

neopixel glitches #614

Open rhubarbdog opened 5 years ago

rhubarbdog commented 5 years ago

i've got an 8x8 matrix of kitrinik zip LED (neopixel [ws2812] compatible addressable LEDs).

This is wierd because only program neobug3.py shows this issue. if the code from draw-screen is in the main loop and not in a function - no issue if the code only calls zip_led.show() once per zip_led.clear() and redraw - no issue. zip_led.show() has to be called twice per cycle once in the main loop and once in a function

I have (tried) to enclose a short video neobug3.py.txt

20181206_112639.mp4.gz

dpgeorge commented 5 years ago

What version of micro:bit MicroPython do you use? Can you attach the exact .hex file that you use that shows this bug? It may be you are affected by #606

rhubarbdog commented 5 years ago

MicroPython v1.9.2-34-gd64154c73 on 2017-09-01; micro:bit v1.0.0-rc.2 with nRF51822 micropython.hex.txt

How do i get a copy of newer hex files. I've tried to follow instructions in README.md to compile your own micropython.hex, but the second sudo apt-get ppa... is for ubuntu 14.04. My operating system in based on ubuntu 16.04. Also i saw this issue #604 and i am awaiting that to conclude before i proceede.

dpgeorge commented 5 years ago

Thanks for providing the .hex file. Upon inspection of it, it looks like it is not affected by #606. So this issue requires further investigation.