If you open the file and look in the comments and OPEN your eyes you will see I did credit those I borrowed code from for the program. I did give back, I posted my code back to the forum for all to see and use.
As far as my limited memory can recall I don't remember any of the names Darrel mentioned.
Code:
' PROGRAM: Multi_Temp_Sensor.pbp
'
' WRITTEN BY Ted "manwolf" Crafton 2008
' WRITTEN FOR PIC16F877A-I/L MICROPROCESSOR
' and LAB-X1 with multiple DS18S20s on breadboard
' or wired remote.
'
' To DO soon:
' Learn how to break the 64 bit rom into bytes
' Learn how to read and write the address to EEPROM
' Update the Temperature conversion to handle neg as well as Pos
' temps and get it a little more accurate.
'
'* Notes :
'* : part of the main search program is copied from a thread by Jimbab,
' http://www.picbasic.co.uk/forum/showthread.php?t=3671
'
'* : Part of this code from MeLabs example
'
'* : Part of this code required brain cells
I dug around and found the code I used for the Search and it turns out I credited the wrong person.
Code:
PROGRAM: 1_WIRE_SEARCH.bas
'
' WRITTEN BY DAVID PUROLA 9/18/2003
' WRITTEN FOR PIC18F452-I/L MICROPROCESSOR
'
Sorry Mr. Purola, I have corrected the oversight.
I should mention Bruce Rynolds, didn't use any code but did read it to learn how to do what I wanted.
http://www.rentron.com/PicBasic/one-wire2.htm
And last but not least my wife for not pulling the plug. Only comment from her was "Oh, you doing that again?"
I have been writting code for 20 years and have very thick skin and some say a head as hard as rock. The wife insists on the last point.
Thanks for posting I really did want to hear your comments, needed to learn the lay of land.
Guess I will need to keep a list of everything I read in the future so no one gets left out.
So did anyone look at the code itself and have any comments?
I don't know how to update a file already uploaded. So here is the updated one.
I always look forward to reviews from fellow coders, kind of like having a root canal without the novicane.
Bookmarks