Most recent activity
-
Hello Gordon, thank you for your response.
I think this problem is not about Serialx, I tried your code.
setInterval("LED.toggle",500) //device failed here
this command hangs too. device doesn't response after this command and led is not flashing.
One more issue;
If I type an undefined function or variable, it also hangs like this :gogogo Uncaught ReferenceError: "gogogo" is not defined Execution Interrupted //device failed here
board doesn't response after this command too.
here is some output that works well and hangs at the end.
_____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |_____|___| _|_| |___|_|_|_|___| |_| http://espruino.com 1v91 Copyright 2016 G.Williams Espruino is Open Source. Our work is supported only by sales of official boards and donations: http://espruino.com/Donate >console.log('Merhaba') Merhaba =undefined >1+1 =2 >x=function() { console.log("Merhaba")} =function () { ... } >x() //device failed when I call x() but all the others worked good until this one.
-
Hello,
When I try to setup a serial port this board hangs with espruino. I have two boards which has the same problem.
I have used this commands
Serial1.setup(9600,{rx:B7,tx:B6});
Serial2.setup(9600,{rx:B7,tx:B6});
Serial3.setup(9600);
Serial2.setup(9600);
etc...all those commands hangs the board, board doesn't response any more. I have tried those binaries
espruino_1v80_stm32vldiscovery.bin
espruino_1v91_stm32vldiscovery.bin
espruino_1v92_stm32vldiscovery.bin
espruino_1v93_stm32vldiscovery.binAm I doing some thing wrong?
-
- 28 comments
- 20,583 views
-
-
Hello,
I'm sorry to activate this thread again.
After my last post, suddenly it worked with a 0.1uf ceramic capacitor. Then I had a break on this project for 2-3 monts.
Now, I have created an other circuit as the same of last working one. But getting the same error. Now in my test results pic allways flooding CL-LF (Char 10 and Char 13).
But when I put the circut 30 cm away from my notebook, it doesn't flood 10 and 13 char.
Espruino board and pic connected to the same power source with the same ground. I have tried more than 10 capacitors, but result is the same. I can only guess that all my capacitors are broken. Tomorrow I'm going to buy new capacitors.
Capacitors code is "104" I think I'm using the right one.
Do you have any other idea?
Thank you for your response Gordon.
I will change my board.