Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI.h needed to run on Arduino UNO #1

Open
JDWong opened this issue Dec 19, 2013 · 3 comments
Open

SPI.h needed to run on Arduino UNO #1

JDWong opened this issue Dec 19, 2013 · 3 comments

Comments

@JDWong
Copy link

JDWong commented Dec 19, 2013

Arduino UNO Owners:
Add "#include <SPI.h>" (without quotes) to prevent build errors.

-Jim

@TrexSpace
Copy link

JDWong is correct. To get the code to compile on my Uno, I had to add:

#include <SPI.h>

@edffz
Copy link

edffz commented Nov 2, 2017

I uploaded this to create.cc editor and upon compiling I get ERROR: "RTC not declared in this scope"???
Help
ed

@dfaMA18
Copy link

dfaMA18 commented Sep 4, 2018

To address the RTC compilation error message when using this code with an Arduino Uno, I changed two lines:
Changed !RTC.begin . . .to !rtc.begin . . .
Changed now = RTC.now(); to now = rtc.now();
The sketch then compiled successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants