Skip to content

Compile error #9

@davidkasle

Description

@davidkasle

After importing the softSPI library as a zip file to Arduino IDE 1.8.13, I am having the following compile error when using

#include <SoftSPI.h>

with a Teensy 4.0 microcontroller. Here is the error message:

C:\Users\david\OneDrive\Documents\Arduino\libraries\SoftSPI-master\src\SoftSPI.cpp:34:57: error: no matching function for call to 'SPIClass::SPIClass()'
SoftSPI::SoftSPI(uint8_t mosi, uint8_t miso, uint8_t sck) {
^

Does anyone have a suggestion on how to fix this?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions