12f675_fuse_about_to_blow!


Results 1 to 40 of 929

Threaded View

  1. #27
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Hi Henrik

    So to get the program to count down from 9-0 would this do it:

    FOR i = 9 to 0 STEP -1
    GPIO = i
    Pause 500
    NEXT i

    *I don't know why but I my code tags still aren't working tonight, sorry*

    If GPIO = 9 then out would go 1001 to the driver etc...

    Yes, without the pause it would have counted to 3 lightning fast I guess.

    The LOOKUP table is excellent for outputting stored values though, really glad we touched on it.
    Last edited by LEDave; - 1st March 2010 at 22:14.

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