I'm trying @JumJum 's code init function allways return false. I'm a newbie, I don't know if my device works and wired properly.
I have tracked the code, I see that code enter in to sendCommandWaitFor() function but it never enters inside sp.on('data',function(d){}); function.
I think it means that I can send command but it doesn't return any data. So, my device doesn't wired properly or not working.
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.
I'm trying @JumJum 's code init function allways return false. I'm a newbie, I don't know if my device works and wired properly.
I have tracked the code, I see that code enter in to sendCommandWaitFor() function but it never enters inside sp.on('data',function(d){}); function.
I think it means that I can send command but it doesn't return any data. So, my device doesn't wired properly or not working.
Is my logic right?