Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18347

Re: Intel Edison Arduino Breakout SPI

$
0
0

Out of curiosity I took a quick look through.  From what I saw, the main file, works through a secondary file (communication.c (.h)) for a few functions (SPI_Init, SPI_Read, SPI_Write), which look like they are hardware dependent on the Arduino.  That is they are talking directly to the hardware registers, instead of using something like the SPI library. It probably would not be too hard to convert the file to use the spi library.   Alternatively someone could try to do some similar c++ hacks like Paul of PJRC did for the Teensy and setup c++ classes with operator overloads and the like such that doing stuff to the SPI registers is converted into appropriate calls to SPI...

 

Kurt


Viewing all articles
Browse latest Browse all 18347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>