luni64/VisualTeensy

After following the getting started can't find SPI.h

Closed this issue · 2 comments

I'm using teensy 4.1 with all the latest things. I can program it just fine in the arduino ide, after following your build example video it works. Putting <SPI.h> at the top of the code it gives error about not finding SPI.h. Any help would be great.

I need more information to really help you. Did you add the SPI library to VisualTeensy? Can you post your .vsteensy.json file?
... and you read this: https://github.com/luni64/VisualTeensy/wiki/Using-Libraries, right ?

Thanks! I hadn't realized that SPI was an extra library since it just comes with normal arduino. I found and included it. That fixed my issue. Thanks for the quick reply!!