Home forums Getting Started and Troubleshooting fastest way to see if analog sensors are working on the PiShield

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #601
    Johnty
    Keymaster

    assuming you have the system configured properly (SPI enabled, etc) and wiringPi installed, you can simply use the gpio utility and type:

    gpio -x mcp3004:100:0 aread 10X

    where X is 0-7 for each analog input channel on the PiShield

    • This topic was modified 7 years, 10 months ago by Johnty.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.