-
First of all, I like the design that Gordon have made.
The icons Gordon have made is fine on my 14" screen, and the constrast is fine too.
I need the full width, so the 2 large vertically bars with icons on, black in black, they fill to much.
About the hot-key, I am fully satisfied with icons on the top bar. I need the full width. What is under the hood, I do not care, I'm a beginner in javascript, but I like Gordon's ide as it is, so do not drive me away.
If you like your own ide, it is fine with me, no hard feelings from me.
I like people who can program, but most do not think of the users who will use those programs. -
-
With 1 sec. log it failed at
1493ASDF,1,Time,1595
1751ASDF,6,Time,1884
then a little later
1842ASDF,7,Time,2016
1843ASDF,7,Time,2017
1844ASDF,1,Time,2017
1845ASDF,6,Time,2017
1846ASDF,2,Time,2017
1847ASDF,1,Time,2017
1848ASDF,3,Time,2017
1849ASDF,2,Time,2017
1850ASDF,4,Time,2017
1851ASDF,1,Time,2018
1852ASDF,4,Time,2018
1853ASDF,3,Time,2018
1854ASDF,7,Time,2018
1855ASDF,1,Time,2018
1856ASDF,3,Time,2018
1857ASDF,4,Time,2018
1858ASDF,1,Time,2018
1859ASDF,4,Time,2018
1860ASDF,7,Time,2018
1861ASDF,10,Time,2018
time is still 1 sec. -
-
setTimeout("doInit();",2000);
change to:
setTimeout(doInit,2000);
then it works on my Espruino.
setTimeout() don't like a string, then it don't call doInit() and therefor it don't require fs and we get DISK_ERR
Edit:
It only reached 102 before DISK_ERR came back. Then there was a 30 DISK_ERR before continuing. -
-
-
-
@Gordon
Now all 4 board's with both DS18B20, works with this rev.{"VERSION": "1v47", "BUILD_DATE": "January 27 2014","BUILD_TIME":"15:40:43", "BOARD":"ESPRUINOBOARD","CHIP":"STM32F103RCT6", "CHIP_FAMILY":"STM32F1","FLASH":262144,"RAM":49152}
I saw it with github, and it worked, changed path to the EABI, did a make and a make serialflash, you are the man of the day.
-
-
-
Stm32f3discovery 1
106.5475338966%Stm32f3discovery 2
105.9924543132%Espruino Board 1
100%Espruino Board 2
99.2454313225%Espruino Board 3
98.9703281588%Espruino Board 4
97.6832383572%With Espruino Board 1 as a reference, I can se that my discovery board's are a lot slower, and my espruino Board 2..4 are faster.
And the DS18B20, that came with the kit, can run on my discovery, but my other DS18B20, can't run on the espruino's.
It is tested with the following code.
CODE
clearInterval();
clearWatch();print(getTime());
for(i=0;i<10000;i++);
print(getTime());
END CODEI think we need a variable or something so we can adjust the time.
-
-
I have tried the other 3 boards I have, and 2 of them does not work either.
I have tried a timing loop, and there are almost 1% in difference, between the board that work, and the board that not work.
/* board that not workecho(0);
1222.878175000000055661
1224.138924999999971987
=undefined/
/ board that work
echo(0);
7.64065
8.912875
=undefined*/
CODE
clearInterval();
clearWatch();print(getTime());
for(i=0;i<10000;i++);
print(getTime());
END CODE
/* board that not work
sensor
={"bus":{"pin":A0},"sCode":undefined}7.34425
7.34925*/
/* board that work
sensor
={"bus":{"pin":A0},"sCode":3530822130496018984}9.21675
9.2449The timing here are before, and after the require.
CODE
print(getTime());
var sensor = require("DS18B20").connect(ow);
print(getTime());
END CODE
Maybe it has something with the timing to do.
-
-
I am using rev. 1.3b that arrived on friday and my env is:
{"VERSION":"1v46","BUILD_DATE":"Jan 24 2014","BUILD_TIME":"17:28:16","BOARD":"ESPRUINOBOARD","CHIP":"STM32F103RCT6","CHIP_FAMILY":"STM32F1","FLASH":262144,"RAM":49152}
// ds18b20 // sig white // 3v3 red // gnd black // 3530822130496018984 clearInterval(); LED1.reset(); LED2.reset(); LED3.reset(); var l = false; setInterval(function() { l = !l; LED1.write(l); }, 1000); setWatch(function() { LED2.set(); clearInterval(id); setTimeout(function() { LED2.reset(); },2000); }, BTN1, {repeat:true, edge:'rising'}); setBusyIndicator(LED3); var ow = new OneWire(A0); var sensor = require("DS18B20").connect(ow); id = setInterval(function() { console.log(sensor.getTemp()); }, 1000);
and that is my code
-
-
-
-
-
Yes, and mine is:
process.env
={"VERSION":"1v45","BUILD_DATE":"Jan 16 2014","BUILD_TIME":"11:24:26","BOARD":"STM32F3DISCOVERY","CHIP":"STM32F303VCT6","CHIP_FAMILY":"STM32F3","FLASH":262144,"RAM":40960}Although I have inserted a print ("asdf"); instead of LED4.set();, it does not work.
I found my old 1v41 and it works!
-
-
-
I could update to 1V59 from the new IDE, works well. If I could drag and drop the icons to the top bar, that would be realy user friendly. And if I could give the file I save a name, It would be realy class. And perhaps some smaller icons to. I know it is a lot to ask for, but it would be wery userfriendly.
Still a very great job you have done. Thank a lot.