sg-wireless / Pymakr

Pymakr is a Python IDE based on eric and customized to offer a plug and play development experience with the WiPy, the LoPy and other modules from Pycom that run MicroPython.
https://www.pycom.io
Other
51 stars 12 forks source link

Pymakr freeze (on too much data going over serial ?) #8

Open arthurlutz opened 7 years ago

arthurlutz commented 7 years ago

Trying out the pycom.rgbled over the interactive terminal I get a rather long freeze of the pymakr interface. The code is not smart, and goes as follows :

import pycom
for i in range(0xffffff):
  print(i)
  pycom.rgbled(i)

I don't know if it's of any use but it froze on 63818. pymakr.py gets stuck on 100% CPU.

RalphHogenbirk commented 7 years ago

Hi Arthur, your script prints a lot of numbers and since the pymakr console doesn't rotate, eventually it'll just be too much for it to handle. Solution will be to do just that: make it rotating.