DS1307 Output to TV or VGA?
Benj
Posts: 66
I would like to connect to my DS1307 and output the time to either a TV or VGA, does anyone have the code? Object Exchange only seems to have the output go to LCD, which I do not have.
Comments
Post a link to the object you are looking at and I'll do it again..
It's not tough. Most of the .out and .str commands are directly
compatible with the text object. IIRC, I converted them nearly
straight across and removed the LCD specific stuff.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
I am trying to do this on my Prop Demo Board and have the 1307 SCL connected to P5 and SDA connected to P6.
It will either work perfectly or get you in the ballpark.. [noparse]:)[/noparse]
I've added a text : "tv_text" to the CON, and move the LCD to an unused pin.
Complete file is attached.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
or
it just freezes and none of the remaining code runs. If I comment out both lines it "runs" but obviously without the DS1307
Double check the SDA, SCL connections.. Make sure we match your actual connection.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
http://forums.parallax.com/showthread.php?p=691564
Also, you might consider next time just using the existing I2C bus on pins 28&29 (that connect to the EEPROM).
That way you don't use any extra pins and there's already the pullups you need...