ILYONG CHO
ILYONG CHO
@chunseoklee I think we can close this as #144 landed?
Closing
I think we may need API reference for device control. And for new module features will be introduced later on, how about consensus of API first and then implementation?
https://github.com/Samsung/iotjs/wiki/IoT.js-API:-GPIO
What type of mode could be exist for a pin of GPIO? As far as I know there is only one; direction. Direction of a pin could be either input...
@seanshpark The page you referred are only saying there are input and output mode(direction). Then can we assume that there are no other type of mode?
Let's summarize what pin configuration are commonly definable so we can design our GPIO API more usable for anyone. I see configurable options are: ### Direction / mode #### input...
I'm not sure about it. My first thought was that mode configuration API might be sufficient if it enable user to select direction("input" or "output"). but you mentioned there are...
What about GPIO API like below: #### gpio.set(pin, direction[, callback]) - `pin: Number` - pin number. - `direction: String` - direction of the gpio pin `'in'` | `'out'`. - `callback:...
Binding GPIO in `iotjs` namespace is also thinkable. By this applications can get gpio module by `var gpio = require('iotjs').gpio`. The advantage of binding is that we can provide 'iotjs'...