A little code review by the Group


Results 1 to 9 of 9

Threaded View

  1. #5
    Join Date
    May 2008
    Location
    Florida
    Posts
    64


    Did you find this post helpful? Yes | No

    Default

    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.
    Attached Files Attached Files

Similar Threads

  1. Reading in Manchester code
    By brid0030 in forum Code Examples
    Replies: 0
    Last Post: - 10th March 2009, 21:55
  2. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. Code Review?
    By Tom Gonser in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th May 2005, 13:48

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts