New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: ADC.read && setTimeout #15
Comments
We do have a currently very basic support for We'll definitely allow concurrent timers soon, and very likely also implement cancellation support and The ADC interface is still TODO. |
+1 any news on this? I actually had a transducer connected to my NodeMCU with the voltage range down to [0.0, 1.0] and all, and then realized I couldn't read it from JavaScript... :( |
Simple ADC API implemented. It currently works only on ESP8266, which has only one ADC. Usage: ADC.read(0) returns a JS number in the I tried it only by connecting to ground and VCC. I got .0029296875 and 1.0 respectively |
This is awesome; I think exactly what one would expect. Going to be using it in a few min. Thanks! |
So, is it already realized in smart.js to read data from the adc and what about js functions setTimeout and setInterval?
The text was updated successfully, but these errors were encountered: