Go Down

Topic: can i use RTC DS1307 with attiny85 I2C (Read 2238 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