6 Replies Latest reply on Mar 12, 2015 7:32 PM by Taylor.Xie

    For Edison, how to coding and get signal value for extra of sensor in SH script file?

    Taylor.Xie

      Hi Guys,

       

       

       

      I have added a extra infrared sensor in Edison, (red line link 5V power, yellow line link DIGITAL(PWM~) 5, green line link GND).

       

      and then I want to get this signal value for infrared sensor, in Arduino IDE, we can use  digitalread(5) to get it ... but in .sh script file, how to get this value? how to write code?

       

       

       

       

       

       

      Regards