Skip to content

SPI library seems to be outdated in Arduino #6979

Closed
@quirxi

Description

@quirxi

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: InvalidOff topic for this repository, or a bug report determined to not actually represent a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions