I am using
Windows XP
Arduino IDE 1.0
Adafruit Data Logger shield on Arduino Mega 2560
I2cMaster library installed into 'libraries' folder from i2cv2.zip
When I run softDS1307 sketch (from i2cv2.zip) I have initially in Serial Monitor window:
- Code: Select all
The current time is 07/13/2012 Thu 00:51:22
Control: 00
Options are:
(0) Display date and time
(1) Set time
(2) Set date
(3) Set Control
(4) Dump all
(5) Set NV RAM
Enter option:
time seems correct, but no options are working.
When I enter any number and hit 'send', I am always getting:
- Code: Select all
Invalid entry
99
Invalid option
I made no modifications to softDS1307 code.
Results are the same in IDE 1.0 and 1.0.1
Is this normal or am I doing anything wrong?
i2cScanAddress sketch, when I changed to
- Code: Select all
#define USE_SOFT_I2C 1
produces this output:
- Code: Select all
Add read: D0
Add write: D0
Done
with USE_SOFT_I2C 0
it only shows word 'done' which means it did not find anything.