Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem with SPI (Read 3063 times)
rampADC
Newbies
*
Offline


Posts: 2
Joined: Nov 25th, 2013
Problem with SPI
Dec 2nd, 2013 at 1:03pm
Print Post  
I'm writing a class inside the project folder. Since in SPI.h, all the functions are static, SPI.[i]somefunction()[/i] should work. By when compiled, I get:

'SPI' was not declared in this scope

I've already included the SPI library with #include <SPI.h>

This same problem happens with the Keyboard and Mouse library. What can I do to resolve the problem?
  
Back to top
 
IP Logged
 
rampADC
Newbies
*
Offline


Posts: 2
Joined: Nov 25th, 2013
Re: Problem with SPI
Reply #1 - Dec 2nd, 2013 at 1:12pm
Print Post  
I spoke too soon. I didn't include the library in the .ino sketch.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint