@Gordon is there a reason why the connection doesn't have an eval function? E.g.
connection
eval
Puck.connect(conn => { conn.eval('Puck.getBatteryPercentage()', console.log); });
When I run this I get conn.eval is not a function. I have tried using Puck.eval but it then asks me to reconnect the Puck again.
conn.eval is not a function
Puck.eval
@alexjfno1 started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@Gordon is there a reason why the
connection
doesn't have aneval
function? E.g.When I run this I get
conn.eval is not a function
. I have tried usingPuck.eval
but it then asks me to reconnect the Puck again.