Question about the DSD1620 & HC4LED
TheWizard65
Posts: 91
I know TPW and Bean, had done something with the HC4LED soon after the Prop Expo in Norwalk. My question is: Can you get a read out from the DS1620 to the HC4LED Display, or am I kicking a dead mule. I'm not savvy with Code so any help and advice will be helpful (hint, Mike Green) Thank You all in advance.
Comments
zip up and post your code so we can see it.
Sounds like you will simply need to use the LED driver code
like you would an output display. (VGA, composite, etc)
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Post Edited (TheWizard65) : 1/3/2009 6:08:31 PM GMT
or get you really close. Save this code as a .spin file in the same folder
with the contents of the objects mentioned in OBJ. (Your first two .zip files)
Double check the .start commands and make sure you are using the pins
indicated or change them to your configuration.
This should display both on the LED module and your TEXT display at the
same time.
Nice to see you tinkering with code these days!
Reviewing this, I'm not sure what the "." will display,
being an LED display, but it should be interesting anyway. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Post Edited (Oldbitcollector) : 1/4/2009 12:28:25 AM GMT
I just made functional my first Propeller project with a DS1620 and two seven-segment LEDs. Could have been done on nearly any processor, but I'm using small projects to start learning the Propeller.
Altough we're using different displays, maybe you will find the DS1620·interface useful if you have trouble in that area.
I have not commented the code yet (it is very basic) but will do that next.
Ken Gracey
Parallax, Inc.
@Ken: Nice simple LED code! (Added to my library) I'm surprised that you aren't using a PPDB... [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
hc4led-Error at (123,30) Unable to locate Method/Constant in Object in BST. Here is what I'm working with. BTW, in stead of me getting my feet wet on this I'm literaly soaking wet from head to toe.(LOL) My Hats Off to BradC for allowing me to use my Power Mac to do prop work.Thank You Everybody.
Post Edited (TheWizard65) : 1/5/2009 12:38:06 AM GMT
and see if it will compile. I'm thinking it *might* be a new BST issue, as I'm
pretty sure your LED code worked before. checked
Nope, BST is clear of this one.. The LED code won't compile.
Were you able to use this code to display characters on the LED before?
TPW's original code is here: obex.parallax.com/objects/360/
but it isn't as nearly as userfriendly as Jon's code. (Then for some reason
which escapes me, Jon's won't compile..) Jon??
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Post Edited (Oldbitcollector) : 1/5/2009 12:59:54 AM GMT
Getting my HC4LED display out and hooking it up.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Post Edited (TheWizard65) : 1/5/2009 1:28:12 AM GMT
Something to check..
I couldn't get mine working for several mins as I was trying to plug my
wires directly into the plug. They did not make connection.
Also, the two I still have used different color combinations of wire.
Make sure that PIN 1 (data) is the line starting from the left as the wires
come out of the front of the display. WHITE is not 5V on either of mine.
I switched to some extra long M/M breadboard pins and finally got
TPW's code working.
Now to see what I can make of yours..
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Post Edited (Oldbitcollector) : 1/5/2009 3:27:56 AM GMT
Attached is a modified copy of Ken's RoomTemperature program using the HC4LED
(I'm using TPW's driver)
Just change the pin settings in CON to match your configuration.
For simplicity I didn't bother to add the TV output.
Let me know how it works for you.
BTW, you are using 220ohm resistors to protect the Prop on the Clk/Data
pins aren't you? Not a bad idea since with is fed with 5v. (Although I chose to risk it.)
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS