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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -