Hi everyone,
I want to read Lepton's module in MATLAB r2015a. I am using a Raspberry Pi model B which I have attached it to my PC using Ethernet cable.
In MATLAB's support package for Raspberry Pi, I could find a command to read and write from/to SPI device.
I know that Lepton's module data could be read through SPI, however, I dont know what kind of data I should write and how to read. (Actually my background is in mechanical engineering and I am totally new to working with micro-controllers and electronics stuff.
could anybody help me with this?
my exact question would be: what data do i need to write on SPI and what kind of variable should I define to read the date from SPI?
MATLAB's command for writing and reading through SPI is as following:
dataOut = writeRead(dev,dataIn,precision)
Thanks a lot,
Sina