IdeaShaker
Member since Oct 2013 • Last active Oct 2013Most recent activity
-
I'm using Mac OSX 10.7.5
I'm not getting very far with the dongle; "ls /dev/tty.*" comes up empty.
If I use the micro-USB port, do "screen /dev/tty.usbmodem-whichever" and start pasting code into the Mac OSX terminal to send to Espruino, the problem persists. Doing it one function at a time works okay, but characters are still getting dropped when I try to paste in the entire program.
-
Hi, all
We just got our Espruino board; it's currently running Espruino 1v40.
The Serial Terminal in Chrome is great, but writing programs in the window to the right and clicking "Send to Espruino" results in some strange behavior. It report JavaScript errors that appear to be caused by characters in the code being dropped.Example:
var l = false; setInterval(function() { l = !l; if (l) turnOn(); if (!l) turnOff(); }, 1000); function turnOn() { digitalWrite(LED1, 1); setTimeout(function () { digitalWrite(LED2, 1); }, 100); setTimeout(function () { digitalWrite(LED3, 1); }, 200); } function turnOff() { digitalWrite(LED1, 0); setTimeout(function () { digitalWrite(LED2, 0); }, 100); setTimeout(function () { digitalWrite(LED3, 0); }, 200); } Results in: ERROR: Function not found! Skipping. at line 2 col 7 digitalWrte(LED3, 0);
I'm not crazy! That 'i' was definitely there. Has anyone else seen this?
Is it already fixed in another build of Espruino?
The new terminal app looks good; it updated automatically for me when I relaunched Chrome. No more dropped characters!
Mac OSX local app obviously still has the problem. If it would help, I can still spend some time playing around with that and the USB dongle.