You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
Trying to compile a sketch that uses the Adafruit-MAX31855-library and included "SPI.h" gave an error message saying that the symbol "beginTransaction" in "SPI.h" could not be found. I googled around and found out that other people had this problem, too. So I installed the newer version of the SPI library and everything compiled and worked flawlessly.
Also in the source code of the newer version of SPI.h it says that the old methods like "setBitOrder" or "setDataMode" are deprecated and the newer method "beginTransaction" should be used instead.
So I wonder if the SPI library that gets delivered with the arduino ide is a bit outdated and if yes if it could be replaced by the newer version ?
The text was updated successfully, but these errors were encountered:
When you use apt-get to install the Arduino IDE you get a very outdated and possibly non-standard version of the Arduino IDE, thus the problem you encountered. Please always download the Arduino IDE from https://www.arduino.cc/en/Main/Software to get the latest official release.
Operating System:
Linux debian 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux
debian version: 9.2 (stretch)
Arduino Version: 2:1.0.5+dfsg2-4.1
Problem:
Trying to compile a sketch that uses the Adafruit-MAX31855-library and included "SPI.h" gave an error message saying that the symbol "beginTransaction" in "SPI.h" could not be found. I googled around and found out that other people had this problem, too. So I installed the newer version of the SPI library and everything compiled and worked flawlessly.
Also in the source code of the newer version of SPI.h it says that the old methods like "setBitOrder" or "setDataMode" are deprecated and the newer method "beginTransaction" should be used instead.
So I wonder if the SPI library that gets delivered with the arduino ide is a bit outdated and if yes if it could be replaced by the newer version ?
The text was updated successfully, but these errors were encountered: