-
-
So i open the file with python loader and i get this.
Garretts-MacBook-Air:~ GarrettLeffue$ cd '/Users/GarrettLeffue/Documents/' && '/usr/bin/pythonw' '/Users/GarrettLeffue/Documents/stm32loader.py' && echo Exit status: $? && exit 1
Traceback (most recent call last):
File "/Users/GarrettLeffue/Documents/stm32loader.py", line 29, inimport serial
ImportError: No module named serial
How do i solve this?
-
-
I have done everything in the how to on flashing the board. But i get to the part
Download the stm32loader.py Python script from https://github.com/espruino/Espruino/blob/master/scripts/stm32loader.py
Run python stm32loader.py -p MySerialPort -evw espruino_for_your_device.bin
For Espruino Boards add -k to the command-line. This will make flashing more reliable.On Mac OS, MySerialPort will probably look a lot like /dev/tty.usbserial### where ### is a number. You can use the 'Tab' key to autocomplete once you have typed /dev/tty.usbserial
And i have no idea what it is meaning for me to do. and the link for more information isn't working. Any better tutorials?
-
Hello , i was trying to mess around and i found a code online https://gist.github.com/dsample/9126456 and it worked fine, now when i tried to go back to http://www.espruino.com/Project+2 and send this one i get random flashing and it wont stay on it, iv tried reset(); but that doesnt seem to help any ideas?
-
-
-
-
-
-
-
-
-
-
-
-
-
Connected > ^ in function called from system Uncaught Error: Field or method does not already exist, and can't create it on undefined at line 8 col 37 colTo = cols[(Math.random()*cols.length)|0]; ^ in function called from system > =undefined > =undefined > =undefined >reset(); =undefined Unknown LCD code 35208 35209 _____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |_____|___| _|_| |___|_|_|_|___| |_| http://espruino.com 1v72 Copyright 2015 G.Williams >echo(0); ERROR: Could not open file : NO_PATH WARNING: Module "ADS7843" not found =undefined Uncaught Error: Field or method does not already exist, and can't create it on undefined at line 1 col 325 ...osi:A7}),require("ADS7843").connect(SPI1,A4,B6,-16,-16,352,2... ^ in function "connect" called from line 3 col 47 require("Touchscreen").connect(touchCallback); ^ at line 3 col 22 for (var i=0;i<cols.length;i++) { ^ in function "drawCols" called from line 7 col 12 drawCols(); ^ at line 10 col 15 var cr = col.r*LCD.getHeight()/256; ^ in function "drawRGB" called from line 8 col 11 drawRGB(); ^ Uncaught Error: Field or method does not already exist, and can't create it on undefined at line 8 col 37 colTo = cols[(Math.random()*cols.length)|0]; ^ in function called from system Uncaught Error: Field or method does not already exist, and can't create it on undefined at line 8 col 37 colTo = cols[(Math.random()*cols.length)|0]; ^ in function called from system Uncaught Error: Field or method does not already exist, and can't create it on undefined at line 8 col 37 colTo = cols[(Math.random()*cols.length)|0]; ^ in function called from system Uncaught Error: Field or method does not already exist, and can't create it on undefined at line 8 col 37 colTo = cols[(Math.random()*cols.length)|0]; ^ in function called from system Uncaught Error: Field or method does not already exist, and can't create it on undefined at line 8 col 37 colTo = cols[(Math.random()*cols.length)|0]; ^ in function called from system Uncaught Error: Field or method does not already exist, and can't create it on undefined at line 8 col 37 colTo = cols[(Math.random()*cols.length)|0]; ^ in function called from system Uncaught Error: Field or method does not already exist, and can't create it on undefined at line 8 col 37 colTo = cols[(Math.random()*cols.length)|0]; ^ in function called from system Uncaught Error: Field or method does not already exist, and can't create it on undefined at line 8 col 37 colTo = cols[(Math.random()*cols.length)|0]; ^ in function called from system Uncaught Error: Field or method does not already exist, and can't create it on undefined
it keeps loading new lines like that ^^^
-
-
-
-
Now im getting this
_____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |_____|___| _|_| |___|_|_|_|___| |_| http://espruino.com 1v71 Copyright 2014 G.Williams > =undefined >reset(); =undefined _____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |_____|___| _|_| |___|_|_|_|___| |_| http://espruino.com 1v71 Copyright 2014 G.Williams >echo(0); WARNING: Unable to set watch on pin. You may already have a watch on a pin with the same number. Uncaught SyntaxError: Got '}' expected EOF at line 1 col 675 ...{repeat:!1,edge:"falling"})} ^ ERROR: Could not open file : NO_PATH WARNING: Module "ADS7843" not found =undefined Uncaught Error: Field or method does not already exist, and can't create it on undefined at line 1 col 325 ...osi:A7}),require("ADS7843").connect(SPI1,A4,B6,-16,-16,352,2... ^ in function "connect" called from line 3 col 47 require("Touchscreen").connect(touchCallback); ^ >
-
this is what i get when i send require() in right and press send. I havent change anything in settings . under where it says url to find modules it has http://www.espruino.com/modules.
-
Hi Im wanting to have a box that shows what the leds are showing how would i do this using project 2?