Sequencer


Closed Thread
Results 1 to 3 of 3

Thread: Sequencer

Hybrid View

  1. #1
    Join Date
    Dec 2009
    Location
    Warrenton Mo
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: Sequencer

    Waaay to much programming for me, dude.

    ' kitt 1
    for loop=1 to 20' do kitt twenty times
    for j=0 to 7: portb.0(j)=1: pause 40: portb.0(j)=0:next j ' pause 40 is on time
    for j=7 to 0 step-1: portb.0(j)=1: pause 40: portb.0(j)=0:next j
    next loop
    goto _____
    end

    or,

    for loop=1 to 20' do stay lit twenty times
    for j=0 to 7: portb.0(j)=1: pause 40:next j ' light 'em up
    for j=6 to 0 step-1: portb.0(j)=0: pause 40:next j ' turn 'em off
    next loop
    goto _____
    end

    simple huh? This applies for nearly all pics using portb, or c, or d, or a or whetever.
    The more I think about it the worse off I am

  2. #2
    Join Date
    Aug 2011
    Posts
    20


    Did you find this post helpful? Yes | No

    Default Re: Sequencer

    so, what is this for? just makes some LED's turn on? lol

Similar Threads

  1. Corrected RB port Sequencer
    By freelancebee in forum mel PIC BASIC
    Replies: 0
    Last Post: - 19th August 2005, 20:14
  2. RB port sequencer
    By freelancebee in forum mel PIC BASIC
    Replies: 0
    Last Post: - 17th August 2005, 19:58

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