Port A pins


Closed Thread
Results 1 to 4 of 4

Thread: Port A pins

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Houston, TX
    Posts
    43


    Did you find this post helpful? Yes | No

    Default Late but--

    Perhaps you have figured it out by now.

    Anyway, use "poke" + the "A" register + a binary discription of how you want the 4 pins.

    If you want them all high:

    POKE $5,%1111

    All low:

    POKE $5,%0000

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    i guess you misread the following part
    Quote Originally Posted by Eric123
    If someone could give me the assembly code to make a specific A pin go high, and descrive exactly what is going on in the code I would appreciate it.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Indexing Port Pins
    By Bruce in forum Code Examples
    Replies: 6
    Last Post: - 5th January 2014, 08:31
  2. Pointers To Port Pins ?
    By BitHead in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd December 2009, 20:38
  3. Change On Interrupt, PIC16F884
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 14th November 2008, 17:25
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. PIC PORT 'special' pins
    By barkerben in forum General
    Replies: 1
    Last Post: - 18th January 2005, 21:40

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