Not sure I understand the question?
While analogRead only outputs values 0-1, it's actually reading full-range 0-3.3v, so 0v->0 and 3.3v->1 - so you should be able to connect it direct?
analogRead
@Gordon 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.
Not sure I understand the question?
While
analogRead
only outputs values 0-1, it's actually reading full-range 0-3.3v, so 0v->0 and 3.3v->1 - so you should be able to connect it direct?