devicescript
devicescript copied to clipboard
@devicescript/gpio does not export some functions
in servers/pins document,
pinMode, digitalWrite, digitalRead, subscribeDigital are exported by @devicescript/gpio
(sorry error message is Japanese, but TS2305 is
no exported member error.)
but in my workspace, it doesn't. which is correct?
Could you make sure the reference to devicescript dependencies in package.json are >= 2.9.13 ?
@pelikhan Sorry for the slow response. I had v2.9.12 and update it, I got it resolved. Thank you!