I was following this tutorial while playing around with alljoynjs on arduino yun and i am not able to set/get analog pin values. For example when i run light.js example i get the following error:
ALERT: TypeError: I/O function analogIn not supported on pin8 ajs_io.c:189 light_00409520_0002 light strict preventsyield global light.js:24 preventsyield
I have changed the pin 8 to every pin from 0 to 5 (because im using arduino yun) but i get the same error for all of them. Setting and reading digital pins seems to work fine.