Port 'a' problems


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Robotica1 View Post
    This means if I want to light LED 1 I send l1 high. If I want to light LED 2 I have to send l2 high and l3 low etc.
    Right, but
    Quote Originally Posted by Robotica1 View Post
    When the code hits "high l9:high l11ause 3:"..l9 flashes (almost imperceptibly) then l11 goes high. When it gets to the next section ('High l10:low l11:high l12) then l10 goes high and l12 does nothing!!
    Code:
    high l9:high l11:pause 3:
    
    	  low l9:low l11
    
    	  high l10:low l11:high l12:pause 3:
    
    	  low l10:low l12
    But something does not look right in the above.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    Possible to have a schematic? Picture worth thousands words

    an yup, i feel it could be done in few code lines. i bet on 50% reduction here, maybe more...
    Steve

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

Similar Threads

  1. port config.
    By tamertokgoz in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th July 2008, 13:25
  2. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 18:27
  3. Notebook Com Port win2k problems
    By folkc in forum Serial
    Replies: 4
    Last Post: - 20th February 2006, 17:16
  4. STATUS re-curtain W
    By zugvogel1 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th February 2005, 16:21
  5. Port pin problems
    By sgreelish in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th March 2004, 19:56

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