No, results don't always have to return in a decimal format, however, in this case they will. I have if(typeof dpLoc !== 'undefined')
For the moments where I wont, for example, taking a PPM reading of a solution. That was my attempt to write a generic function to output a result to my 4 - digit 7 segment display.
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.
No, results don't always have to return in a decimal format, however, in this case they will. I have
if(typeof dpLoc !== 'undefined')
For the moments where I wont, for example, taking a PPM reading of a solution. That was my attempt to write a generic function to output a result to my 4 - digit 7 segment display.