I've got it working on an STM32VLDiscovery board. Having a hard time to decide if we should handle 7bit in C or in JS code. As we could easily do:
7bit
C
JS
function handleData(v) { for(var i=0; i < v.data.length; i++) { print( String.fromCharCode( v.data[i].charCodeAt(0) & 0x7F )); } }
To handle 7e1 mode in JS code.
7e1
@Ganehag 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.
I've got it working on an STM32VLDiscovery board. Having a hard time to decide if we should handle
7bit
inC
or inJS
code. As we could easily do:To handle
7e1
mode in JS code.