You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should be easy enough to fix :) It should probably warn if you use the wrong pin too.
Also jshPinAnalogFast needs to shift left by 6, to use a full 16 bits rather than just 10 - it's used when using the Waveform class for recording audio/etc.
There's only one analog pin on the ESP8266. As far as I can tell, analogRead() ignores the pin it's sent, and reads the ADC pin. Which seems like reasonable behavior, since that's the only pin it is valid for.
Well yes, except if you come from an Espruino board and you're expecting to be be able to use analog on any ADC-capable pin, you're going to get confused that you get a value, but not from the pin you're expecting.
The text was updated successfully, but these errors were encountered: