i trying use mcp3008 analog input in raspberry p2 last rasbian jessie ( 2016-5-10)
according tutorial in http://www.raspberrypi-spy.co.uk/2013/1 ... n-mcp3008/
installed spidev 3.2 (last jessie not have spidev installed) :
sudo apt-get install python-spidev
cd spidev-3.2
sudo python install setup.py
spi interface enabled.
lsmod |grep spi displays spi_bcm2835
ls -al /dev/spi* displays /dev/spidev0.0 /dev/spidev0.1
sudo python simpletest.py display 0 in channel ad no measure of input voltage
wired connections checked , rechecked.
spidev_test.c compiled , runned shortened miso , mosi produced rows 00
tried last ubuntu mate same results.
may last jessie , ubuntu not compatible spidev?
thanks
according tutorial in http://www.raspberrypi-spy.co.uk/2013/1 ... n-mcp3008/
installed spidev 3.2 (last jessie not have spidev installed) :
sudo apt-get install python-spidev
cd spidev-3.2
sudo python install setup.py
spi interface enabled.
lsmod |grep spi displays spi_bcm2835
ls -al /dev/spi* displays /dev/spidev0.0 /dev/spidev0.1
sudo python simpletest.py display 0 in channel ad no measure of input voltage
wired connections checked , rechecked.
spidev_test.c compiled , runned shortened miso , mosi produced rows 00
tried last ubuntu mate same results.
may last jessie , ubuntu not compatible spidev?
thanks
problem solved. sorry.
cause: new faulty cable !
cause: new faulty cable !
raspberrypi
Comments
Post a Comment