Commit Graph

3 Commits

Author SHA1 Message Date
Derek Jamison
b3e100967c JS: Add ADC (analog voltage) support to gpio library (#143)
* JS: Add ADC (analog voltage) support to gpio library

* JS: readAnalog crashes if script doesn't call analogStart first.

* Use same start/stop convention as other js modules

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
2024-06-12 02:00:47 +01:00
Willy-JL
7246e7235b JS: Fix some edge cases with GPIO module
- disable expansion to avoid conflicts
- fix pin counts when iterating
- check validity of pull and mode names
2024-03-12 06:03:48 +00:00
Sil333033
d947fa749a JS: added GPIO module 2024-03-11 20:58:14 +01:00