Pages: [1]   Go Down
Author Topic: Programming a real time clock  (Read 298 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone, I have a problem because I have to make a program that is running a real-time clock with DS1307 but I have to use the wire library and DS1307. I do not know how comprned I have been taken to start the program.
Can you help me?
Logged

Offline Offline
Edison Member
*
Karma: 58
Posts: 2078
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A tutorial at Adafruit, http://learn.adafruit.com/ds1307-real-time-clock-breakout-board-kit
This is a library and an example, https://github.com/adafruit/RTClib
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for the documentation, I have one more question, what is the symbols "*" and "&" found in some programs ?
Logged

Sweden
Offline Offline
Sr. Member
****
Karma: 11
Posts: 440
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for the documentation, I have one more question, what is the symbols "*" and "&" found in some programs ?

In C and C++ the operators "*" and "&" can mean different things depending on the context. Here are some:

1. Multiplication
2. The value referenced by a pointer
3. Bitwise AND
4. The address of a variable/symbol/function

Cheers!
Logged

Leeds, England
Offline Offline
God Member
*****
Karma: 14
Posts: 587
Quick, chuck it in the bin before the boss finds out...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://arduino.cc/en/Reference/HomePage
Logged

Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

Pages: [1]   Go Up
Jump to: