Save a port number into the EEPROM?


Results 1 to 7 of 7

Threaded View

  1. #5
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    Do I understand this right?

    This will make PORTC.6 high?
    Code:
    TRISC = %00000000
    X   VAR BYTE
    X = %01000000
    PORTB = X
    And this will make PORTC.1 and PORTC.3 high?
    Code:
    X = %00001010
    PORTB = X
    Last edited by Fredrick; - 20th August 2009 at 10:07.

Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 15:46
  2. Save number cell in to EEprom
    By piombazzo in forum GSM
    Replies: 0
    Last Post: - 18th August 2008, 21:49
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 18:27
  4. How to write/read strings EEPROM/LCD
    By g-hoot in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 11th February 2007, 07:26
  5. word variable to 25lc640
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2004, 20:59

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