2 Replies Latest reply on Dec 29, 2014 4:56 PM by jarain78

    Invalid AIO pin specified


      Hi all my name is Jaime and I have a question.


      Why this error occurs?


      ERROR: /node_app_slot/main.js:9                                                                                                   

      ERROR: var analogPin0 = new mraa.Aio(0);                                                                                           

          ERROR:              ^                                                                                                         

      ERROR: Error: Invalid AIO pin specified - do you have an ADC?                                                                     

          at Object.<anonymous> (/node_app_slot/main.js:9:18)                                                                           

          at Module._compile (module.js:456:26)                                                                                         

          at Object.Module._extensions..js (module.js:474:10)                                                                           

          at Module.load (module.js:356:32)                                                                                             

          at Function.Module._load (module.js:312:12)                                                                                   

          at Function.Module.runMain (module.js:497:10)                                                                                 

          at startup (node.js:119:16)                                                                                                   

          at node.js:906:3   

      I have this erro when I programing with XDK, but when I programing with arduino I don't have this problem. Can you explain me why?