chirimen-oh / any-issues

CHIRIMEN Open HardwareのISSUESを検討するために用意されています。 従って、issuesの議論の目的のみで利用されます。Messaging board (Forum) to discuss several CHIRIMEN issues.
3 stars 3 forks source link

Polyfill: GPIOPort.read() doesn't work #172

Open gurezo opened 7 years ago

gurezo commented 7 years ago

getValue().then() doesn't exist.

ghost commented 7 years ago

https://github.com/chirimen-oh/examples/blob/forCMN2015-1_B2GOS-20170301/readGpioValue/js/worker.gpio.js#L88 should fix this issue.