Quantcast
Channel: Seeedstudio Forum
Viewing all articles
Browse latest Browse all 6612

'DS3231' does not name a type

$
0
0
I've just hooked up my Seeduino Stalker and the sample code on the wiki works, but the examples in the "DS3231 library for arduino 1.0" don't work. I'm using Arduino 1.0.1 on a Mac.

Here are the errors when trying to upload the adjust example:

adjust.pde:-1: error: 'DS3231' does not name a type
adjust.pde:-1: error: 'DateTime' does not name a type
adjust.cpp: In function 'void setup()':
adjust.pde:-1: error: 'RTC' was not declared in this scope
adjust.pde:-1: error: 'dt' was not declared in this scope
adjust.cpp: In function 'void loop()':
adjust.pde:-1: error: 'DateTime' was not declared in this scope
adjust.pde:-1: error: expected `;' before 'now'
adjust.pde:-1: error: 'now' was not declared in this scope

Statistics : Posted by kelly2 • on Sat Oct 13, 2012 6:01 am • Replies 3 • Views 1232

Viewing all articles
Browse latest Browse all 6612

Trending Articles