after all ... PBP is not so bad ...


Results 1 to 24 of 24

Threaded View

  1. #17
    Join Date
    Aug 2005
    Location
    Michigan, USA
    Posts
    224


    Did you find this post helpful? Yes | No

    Default

    Thank you Alain,

    Would this work?

    Regards, Mike

    Code:
    while 1=1
        adcin 0, result                      '
        
        if result < 823 then                 ' if < 4.020 volts then
            LCDOUT $FE,2," Tribord "         '
        else                                 ' else
            LCDOUT $FE,2,"  Babord "         '
        endif                                '
    
        angle = 13 * abs(result - 823) / 100 '
    
        LCDOUT $FE, $C0, dec3 angle          '
    
        PAUSE 100                            '
    wend
    Last edited by Mike, K8LH; - 1st May 2010 at 21:07.

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