Fork me on GitHub
#esprit2020-08-08
>
kiranshila21:08:15

Alright I'll write up a blog post about this, but I now have CIDER live-coding the ESP32. It's glorious!

kiranshila21:08:27

Basically, I had to set cider to use pr instead of pprint, as pprint is gigantic and doesn't fit in memory. Then, I had to tell cider to use the esprit repl-env, finally, I have to do some nonsense with the emitted JS, due to Espruino not implementing try/catch correctly

mfikes21:08:12

Yeah... the newer versions of ClojureScript pull in spec, IIRC, which blows out memory usage.

mfikes21:08:32

Oh wow! Nice serial monitor thing you are using!

kiranshila21:08:45

The display? Yeah its really cool! I'm making a IoT clock thing.

mfikes21:08:29

Awesome! One thing I want is a tiny device that I can plug into an RS232 line and see what it is printing. There must be something like that 🙂

mfikes21:08:52

Maybe your device is doing that? Hrm.

kiranshila21:08:15

Yeah so this display has an rs232 chip on it and you can just serial print to it

kiranshila21:08:32

Eliminates needing a whole display library

mfikes21:08:36

Hah! I not only want one, I think I need one.

mfikes21:08:35

Two lines are good enough for me.

kiranshila21:08:04

I think I got this one from aliexpress, but there is also this kit from adafruit that just turns a normal LCD into basically the same thing

kiranshila21:08:12

Thanks again for your hard work on this - this is really a cool project!

mfikes21:08:20

It's been fun!