Addressing with Dip Switch or ???


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    That is exactly what EEPROM is for - storage of configuration data, etc. The data is non-volatile, it is retained even if the PIC powered down, and is available on power-up. The 16F628A comes with 128 bytes of EEPROM built in. You now have 3 extra I/O pins available plus you save on the cost of the DIP switch and other components.

    See page 123 of the manual for the READ command, and Page 159 for the WRITE command to read/write EEPROM.
    Last edited by rmteo; - 15th September 2008 at 20:32. Reason: - added reference to manual.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Thanks again.

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    tazntex, Why not just use a 1 wire silicon serial number device from Maxim?

    Dave Purola,
    N8NTA

Similar Threads

  1. Rotary Hex Dip Switch Code???
    By dangill in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 13th March 2008, 13:30
  2. DIP switch select delay
    By mongater in forum General
    Replies: 15
    Last Post: - 17th January 2008, 14:13
  3. Replies: 14
    Last Post: - 26th September 2007, 05:41
  4. dip switchs & inputs
    By grounded in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 19th September 2006, 13:37
  5. Newbie - 16F628A and switch latching
    By malc-c in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 19th May 2006, 02:35

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