When i run a make i keep getting the following error.
pi@iot:~/ttn-ulm-node-dragino-master/ttnsender/main $ make
g++ -std=c++11 -DRASPBERRY_PI -DBCM2835_NO_DELAY_COMPATIBILITY -D__BASEFILE__=\"raspi\" -c ../library/raspi/raspi.cpp -I../library
../library/raspi/raspi.cpp: In static member function ‘static void SPIClass::begin()’:
../library/raspi/raspi.cpp:20:26: error: could not convert ‘bcm2835_spi_begin()’ from ‘void’ to ‘bool’
if (!bcm2835_spi_begin()) {
^
../library/raspi/raspi.cpp:20:26: error: in argument to unary !
Makefile:15: recipe for target 'raspi.o' failed
make: *** [raspi.o] Error 1
Hi
When i run a make i keep getting the following error.
Is there something exstra i need to install?
Thanks!! Q