Hi
As usual... I have come into a problem
when i compile
#include spi.h
I get this:
Please import the SPI library from the Sketch > Import Library menu
In library menu i dont find spi.h
And when I google to find ala spi.zip I cant find it
So, where can I download a fresh copy?
Error
\Sender_2023.03.20_v15\Sender_2023.03.20_v15.ino:17:10: fatal error: SPI.h: No such file or directory
17 | #include <SPI.h>
| ^~~~~~~
compilation terminated.
exit status 1
Compilation error: SPI.h: No such file or directory
Juraj
3
how did you install the esp8266 Arduino core?
what board did you select in Tools menu?
1 Like
Hi
thanks for answer!
pr today no solution
I reinstalled IDE but no luck, bot version 2.04 and 1.8.13
What I did, I installed IDE on a new computer and then all worked.
So what next step is I dont know....
Juraj
5
1 Like
go to the "non working computer" and uninstall ALL Versions of Arduino.
Come back to us when you are ready and we will advise you the next step.
1 Like
Thanks, I will do that, hope to have time in the weekend.
Hi, I did install from menu + I added paths for different boards in Preferences.
I have compiled same code hundred of times back to July 2022, so im pretty sure I have chosen correct installation.
Error is probably don by me fiddling around...
system
Closed
9
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.