ILYONG CHO

Results comments of ILYONG CHO

Then, what about this? #### gpio.set(pin, direction[, mode][, callback]) - `pin: Number` - pin number. - `direction: String` - direction of the gpio pin 'in' | 'out'. - `mode: String`...

@seanshpark The hardware dependent implementation could be changed according to API. For example, if we decide to provide `gpio.set(pin, direction)` the underneath function prototype should be something like `SetMode(int pin_number,...

From discussion today morning, we have formed a consensus for GPIO API candidate. I think this API layout will reflect the idea. ### iotjs.gpio - pin number is logical number...

@seanshpark 1. `true` for what? `in` or `out` ? I wonder if it could be a little confusing. 2. you men `unset()`? We could provide it. or we can do...

@seanshpark, thanks for your confirmation.

Closing as we reached consensus about the API: https://github.com/Samsung/iotjs/wiki/IoT.js-API:-GPIO Feel free to reopen if it needed.

Closing this issue. Treat encoding at separate issue.

@GrowingM For what it's worth, try with ``` ./tools/build.py --target-arch=arm --cmake-option="-DCMAKE_EXE_LINK_FLAGS=-static" ``` I'm bot sure, but by this, the output binary will be statically linked with needed libraries, might solve...

@seanshpark Could we close this issue?

The total usage of memory for hold string data will be the same as before. Current implementation is like: ``` jschar* buff = AllocateBuffer(); copy javascript string to buffer. LocalString...