Go Down

Topic: can i use RTC DS1307 with attiny85 I2C (Read 2509 times) previous topic - next topic

tigerbomb8

May 02, 2012, 05:19 am Last Edit: May 02, 2012, 07:32 am by tigerbomb8 Reason: 1
hey i want to shrink one of my projects and use an attiny85. i only need the two pins for the RTC and one for a PWM output.

i was thinking about getting the tinywire library and editing the RTC library from adafruit to work with the tinywire library. would this work?


sirbow2

http://dduino.blogspot.com all my Arduino/electronic projects!!!

{NEW} Getting Started, Learning, Reference + FAQ PDF!!:
[url]http://ar

CrossRoads

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Coding Badly


Core so you can program the ATtiny85 the Arduino way...
http://code.google.com/p/arduino-tiny/

I2C library so you can communicate with the RTC...
http://arduino.cc/playground/Code/USIi2c

Quote
editing the RTC library from adafruit


I think BroHogan or carl47 has already done something similar.  Try searching the forum for their monikers and some keywords.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy