Go to advanced search
Code: Select all
from pyb import Timer
tim = Timer(1, freq=1000)
tim.callback( lambda t: pyb.LED(1).toggle())
loboris wrote: ↑Fri Dec 21, 2018 9:12 am
You should use ESP32 board/module with 4MB psRAM (SPIRAM), then you can have up to 4MB free RAM (heap).