another problem
I have try to upload this code
I2C1.setup({scl:D25,sda:D26, bitrate: 60000}); var mcp = require("MCP9808").connect(I2C1, 0b000); // 0b000 means A2 = A2 = A1 = GND var temperature = mcp.getTemperature(); console.log("Temperature: " + temperature + " C"); function ReadTemp() { setInterval (function() { var temperature = mcp.getTemperature(); console.log("Temperature: " + temperature + " C"); digitalWrite(LED1,1); } ,1000);} digitalWrite(LED1,0); ReadTemp();
I get no error while uploading , just see the bar running , then "SENT" see the
____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |____|___| _|_| |___|_|_|_|___| |_| espruino.com 2v07 (c) 2019 G.Williams Espruino is Open Source. Our work is supported only by sales of official boards and donations: http://espruino.com/Donate
then nothing - the device is not replay nothing on the console , can't write nothing on it
I don't get any error - but it doesn't uplaod the code after reboot from power - It run the old code (the one on the first post) how could it be ?
Thanks ,
@David1234321 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.
another problem
I have try to upload this code
I get no error while uploading ,
just see the bar running , then "SENT"
see the
then nothing - the device is not replay
nothing on the console , can't write nothing on it
I don't get any error - but it doesn't uplaod the code
after reboot from power - It run the old code (the one on the first post)
how could it be ?
Thanks ,