DS1302 for Prop
Newzed
Posts: 2,503
Does anyone out there have a program for the DS1302 on the Prop - I could really use one.·
Thanks
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
Thanks
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
Comments
ww1.parallax.com/Default.aspx?tabid=65
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Jason
www.pr0jects.com
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
The DS1302 programs published in the object exchange is a driver and a little demo program.
I can help you to adapt it to what you need ?
Could you explain exactly what you need ?
Best regards,
dro.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
in medio virtus
Right now I'm trying to convert the program to Chip Gracey's
VGA_1280x1024_Tile_Driver_With_Cursor and I can't get the numbers to display.· I'm wondering if Chip's program has a provision to displaying decimal numbers.· As of now, if I enter a number it displays the ASCII value for the HEX of whatever number I enter.· For instance, if I enter '55', the VGA displays '7'.· Has me completely bugged.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I can not help you for the use of VGA object because i have no vga monitor. For the demo program, you can simply change the line :
text : "TV_Text"
by
text : "VGA_Text"
and it will work with 'standard' vga output.
I can help you for the use of the DS13202 to obtaining the date and time as you need !
Best regards,
dro.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
in medio virtus
I could only attach five of the seven files - the remaining two will be by separate post.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
Your program look to be great. I am particularly interested by your approach of the “object” concept as used with Propeller.
I am impatient to be able to test the program when I would have a VGA screen.
dro.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
in medio virtus
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
I finally got my DS1302/LCD program all finished and working. It will display either on your VGA or 4x20 LCD or both. The attached zip file contains all seven objects required by the program.
A few notes – check the CON block to make sure the VGA start pins and the 1302 connections agree with your setup. The 1302 uses HEX2 notation throughout – if the month is July, enter as 07. If the time is 9AM, enter as 09, and so on. DO NOT PRESS ENTER. The program will advance automatically after each entry.
Make sure you use 3.3VDC on the 1302.
I am using my 4x20 backpack for the LCD, so you will have to change the LCD routines beginning at Line 381 to fit the LCD you are using.
Note that Lines 134-137 have been commented out. This permits using the Prop/LCD remotely, which is what I am presently doing.
The 1302 routines do not use the synchronous shiftin/shiftout protocol. Instead, they write/to or read/from the particular clock registers asynchronously.
If you are using the D or L options in the VGA/keyboard mode, these options can be terminated by pressing any key. If you are using the LCD as a stand-alone remote, the only way to terminate is to power off the Prop or Proto Board.
If you have any questions about the program, please post them here.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
Will the DS1302 work with a crystal taken from a watch?
Thanks,
Doug
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·