That's a very old program -- I've attached a newer version that is far easier to update (this is available from our DS2760 page).· All you have to do is hard-code the thermocouple type instead of looking for user input.· Keep in mind that everything starts with C and gets converted to F -- so· you probably can't remove any variables without creating a problem somewhere.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Jon Williams Applications Engineer, Parallax
When you say hard code you mean the identifyer that I got when I ran the one wire device ID program, I have two DS2760 to run data from. each has its own number.
Thanks David
What I meant is that you can hard-code the table selection so that you only use the K table. If you've got two DS2760s on the same IO pin, you'll need to use the MatchROM command to communicate with each individually.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Jon Williams Applications Engineer, Parallax
·· Your messages would be easier to read if you would attach your code rather than pasting it in the message body.· Especially with the size of this program.· Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage Parallax Tech Support csavage@parallax.com
I am trying to display temps useing one type of thermocouple (k) type, cant figure out how to do this without selecting (1) from the keyboard.Just load the (k) table for math and conversions. Thanks
Well for starters, the first program is trying to load a table with a different filename than you have here.· To be honest, this doesn't look like enough of a program to do what you're trying to do.· There is no real functional code here.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage Parallax Tech Support csavage@parallax.com
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Thanks David
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Post Edited (dbj) : 11/9/2005 12:15:14 AM GMT
Post Edited (dbj) : 11/9/2005 12:17:29 AM GMT
·· Your messages would be easier to read if you would attach your code rather than pasting it in the message body.· Especially with the size of this program.· Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com