raspberry pi - I want to use "spi.h" in raspberrypi (spi.h is header file of arduino) -
i use arduino sensor in raspberry pi.
since sample file sensor dedicated arduino, example header file dedicated arduino.
the example code uses spi.h file. can download header file , use in raspberry pi?
that wouldn't make sense various reasons , wouldn't work various reasons.
spi serial interface. don't need arudino code communicate via spi on raspberry pi. there many examples on how on raspberry pi.
the sensor doesn't need arduino. needs power , talk to.
the fact ask question shows should invest time learning c/c++ , basic knowledge microcontrollers , serial interfaces.
if you're lost in unknown jungle won't bring map unknown jungle... have do? learn jungles in general , day you'll able survive in of them.
Comments
Post a Comment