AkosLukacs
Member since Dec 2015 • Last active Dec 2023Most recent activity
-
Hi guys!
Wanted to do some coding with my kids, and tried latest Espruino on a Micro:bit (v2.00, DAPLink firmware updated). Basic things seem to work, but when I tried a simple neopixel write, it just hangs. Even
require("neopixel").write(D1, [255, 0, 0])
, it just hangs.Tried 2.19, 2v.18, 2v.14, 2v.11, 2v.08, same behaviour.
Did anyone use neopixels on the Micro:bit? -
-
Hi,
I have kind of edge case here, but maybe there is a solution: Using bunch of DS18B20 to measure temperatures, and bitbanged 1-Wire is not really working with Bluetooth enabled, so disabled it. But that means serial upload. Sometimes I get uart overflow error when trying to upload, sometimes it works just fine. Throttle send is set in the IDE is on, not sure if it helps.
Usually works on second-third try, but is there any trick that might help with the uploads? -
Btw, started working on a simple graphing solution like in the Micro:bit editor. Smoothie Charts, used by Micro:bit editor looks pretty nice for simple real-time graphing: http://smoothiecharts.org (MIT license)
Input lines either JSON, for example
{foo: 10, bar:15}
, or what the Micro:bit does:x:42
. Altho thinking about a prefix to either ignore certain lines, or process only certain lines. Could be a config options.
One graph per data stream, because Smoothie Charts doesn't support labels / legends, and your values can be vastly different.A small difference compared to Micro:bit: I would open a popup, so you can resize or place the graphs where you want.
Ideas, suggestions?
-
Nice!
What about optionally saving to localStorage, so you don't lose data if you accidentally close the tab, forget it, etc?
https://github.com/espruino/EspruinoWebIDE/pull/252 :) -
-
Works with the latest edge build \o/
Thank you Gordon!