@Gordon @DrAzzy I don't understand why this works and var doesn't. Is it because this places the ph variable within the scope of processData?
this
var
@d0773d 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.
@Gordon @DrAzzy
I don't understand why
this
works andvar
doesn't. Is it becausethis
places the ph variable within the scope of processData?