Hi..
trying to run Chris' SPIThermometer as in the cookbook.
I can use the starter binary he has put in the cookbook and it works. (which is great), but I am trying to write my own program now.
The following (very simple code) gives me a compile error of
"Cannot open source input file "SPI3.h": No such file or directory (E5)" in file "temp/lib/SPIThermometer/MAX6662.h"
I've updated the libraries to the latest versions, but its not happy.
any help gratefully received,.
cheers
Dave.
#include "mbed.h"
#include "MAX6662.h"
MAX6662 st(p5, p6, p7, p8);
Serial pc (USBTX,USBRX);
int main() {
while(1) {
wait(1.0);
pc.printf("Temp = %f ^c \n \r",st.read());
}
}
Hi..
trying to run Chris' SPIThermometer as in the cookbook.
I can use the starter binary he has put in the cookbook and it works. (which is great), but I am trying to write my own program now.
The following (very simple code) gives me a compile error of
"Cannot open source input file "SPI3.h": No such file or directory (E5)" in file "temp/lib/SPIThermometer/MAX6662.h"
I've updated the libraries to the latest versions, but its not happy.
any help gratefully received,.
cheers
Dave.
#include "mbed.h"
#include "MAX6662.h"
MAX6662 st(p5, p6, p7, p8);
Serial pc (USBTX,USBRX);
int main() {
while(1) {
wait(1.0);
pc.printf("Temp = %f ^c \n \r",st.read());
}
}