luni64 / VisualTeensy

VisualCode projects for PJRC Teensy boards
Other
119 stars 11 forks source link

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

Closed s4lt3d closed 4 years ago

s4lt3d commented 4 years ago

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 at the top of the code it gives error about not finding SPI.h. Any help would be great.

luni64 commented 4 years ago

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 ?

s4lt3d commented 4 years ago

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!!