javascript

mathpunk 2019-02-11T00:43:48.002100Z

I'm getting into playing with Arduino boards, and I had a very good experience working with the johnny-five library. I'm wondering if it might be possible to livecode with clojurescript and johnny-five, but, there's a lot I don't know about firmata/i2c/microcontrollers in general. Here's the johnny-five repl code, which I couldn't really make heads or tails of: https://github.com/rwaldron/johnny-five/blob/master/lib/repl.js

souenzzo 2019-02-11T12:00:08.001500Z

@mathpunk checkout this repo it uses shadow-cljs to make cljs->npm-module then import the npm-module from JSX and use the infrastructure from npm / metro to get cljs working in react native you can do something like it https://github.com/wilkerlucio/multi-timer

1