Read Modify Write problem?


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    uh, nope.

    I was thinking something more like this.

    PORTA = 0
    PORTB = 0

    'write segments to ports A and B
    TRISB.0 = X0.0 ' Send segments to LED 0 = ON
    TRISA.4 = X0.1
    TRISA.6 = X0.2
    TRISB.3 = X0.3
    TRISB.4 = X0.4
    TRISB.5 = X0.5
    TRISB.6 = X0.6
    TRISB.7 = X0.7
    <br>
    DT

  2. #2
    Join Date
    Jun 2005
    Posts
    53


    Did you find this post helpful? Yes | No

    Wink

    Thanks Darrel,

    That is much cleaner! I will give it a try.

    Mark

Similar Threads

  1. Cleaning up code
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2009, 08:14
  2. write -read problem?
    By turkuaz in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th August 2009, 14:06
  3. Read Write Problem
    By kduck63 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 15th June 2009, 20:03
  4. SEROUT WORD variable problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th April 2009, 12:20
  5. problem to read write 24LC512
    By edysan in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th February 2008, 22:46

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