Please look over my code


Results 1 to 11 of 11

Threaded View

  1. #9
    Join Date
    Mar 2004
    Posts
    92


    Did you find this post helpful? Yes | No

    Default Re: Please look over my code

    UPDATE:

    First, thanks for posting all that additional code too Richard. I've saved your 2nd code as "Richard's Gate Controller" on my programming PC and it is running my gate.

    On to my update...

    It appears I've located the cause of the erratic operation, I use sockets for PIC's and did on this project too. It looks like it's the socket causing the problems, that is, when strange things start happening, I remove and re-seat the PIC in the socket or even just press down firmly on the PIC and it's all good again.

    I think there is some oxidation on my socket and GPIO.3 (input pin) starts loosing contact and picking up random noise.

    I need to find some type of cleaner to use (vinegar ?) to clean the socket real good then maybe use some silicone grease to keep air and any moisture from getting to them. even though it's in a sealed enclosure. Any suggestions anyone ?

    thanks
    Last edited by Sam; - 1st April 2016 at 21:41.

Similar Threads

  1. avr code to code for PIC
    By JasonMcG in forum General
    Replies: 1
    Last Post: - 11th September 2014, 00:57
  2. Serial problem between BasicStamp code and PBP code
    By AllanZilkowsky in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 6th April 2014, 02:15
  3. Working code but my layman approach uses too much code space
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 14th December 2012, 20:44
  4. Code: Why is this code greater than 2000 words?
    By DrDreas in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 1st June 2007, 19:51

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