just want to read from MCP3002 some Analog HEEEEELP PLEASE. - Raspberry Pi Forums


ok complitly new linux , spi in general.

have installed wiringpi raspberry pi 2 , have created directory put examples in can test spi raspberry pi 2. have mcp3002 conected spi gpio on me raspberry can read analog hall sensor.

go c because more familiar python.

create testspi.cpp nano in terminal , include wiringpispi.h after ......

have no idea supposed do. want read analog feed 1 channel of adc.

idea ? searched tutorials of them mcp3008 working segment displays or mcp3002 in python. working on raspberry huge videos on youtube not option well. copletle lost here.

please help

hello kourpetis, following link may useful. think mcp3008 may trimmed down. luck.
http://www.hertaville.com/interfacing-a ... ing-c.html

or maybe one
https://github.com/hamishcunningham/wir ... /mcp3002.c


raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code