Hi again guys, sorry for the late reply, I've been pretty busy last week, so I didn't have time to reply.
I tried Gordon's build, which worked for me. I've moved to pins A9 and A10 now. Communication is stable with this build.
Then I tried Drazzy's bigram build, version "espruino_1v72_12-17_espruino_1r3_bigram", which also worked, but only after I changed the timings a bit.
So instead of reading the buffer after 50ms, I had to do it after 150ms, or else it seemed the buffer wasn't "ready" yet (I would get random characters or only part of the reply string).
The program is stable with this timing, so my problem is solved, but maybe you guys know what could have caused the timing difference. Just letting you know :)
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.
Hi again guys, sorry for the late reply, I've been pretty busy last week, so I didn't have time to reply.
I tried Gordon's build, which worked for me. I've moved to pins A9 and A10 now. Communication is stable with this build.
Then I tried Drazzy's bigram build, version "espruino_1v72_12-17_espruino_1r3_bigram", which also worked, but only after I changed the timings a bit.
So instead of reading the buffer after 50ms, I had to do it after 150ms, or else it seemed the buffer wasn't "ready" yet (I would get random characters or only part of the reply string).
The program is stable with this timing, so my problem is solved, but maybe you guys know what could have caused the timing difference. Just letting you know :)
Thanks for the help and suggestions!