Repeater ID and controller


Results 1 to 13 of 13

Threaded View

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


    Did you find this post helpful? Yes | No

    Default Re: Repeater ID and controller

    Hi Nick,

    Glad to hear you've got it up-n'-runnin'.

    If you were to try that other character format you'd need to change the algorithm. I don't have PBP but I think it would use one less variable (below). Other than that, the algorithms are so close I'm not sure there would be any advantage using one format over the other.

    I'd love to see your code when you're finished (is there such a thing as "finished"?)...

    Cheerful regards, Mike, K8LH

    <note> that outer loop doesn't look quite right, does it?
    Code:
      while idchar <> 0                     '
        lookup pointer,[$90,$40,$80,$B0,$E4,$48,$08,$94,$50,$00],idchar
        '              " d   e       k   8   l   h   /   r "
        if idchar = 128 then                ' if <space> char
          pause wordtime                    '   do word space
        else                                ' otherwise
          while idchar <> 128               '   while unprocessed bits
            if idchar.7 = 1 then            '
              sound data_out,[freq,dah]     '     do 'dah'
            else                            '
              sound data_out,[freq,dit]     '     do 'dit'
            endif                           '
            data_out = 0                    '     force output to 0
            pause interditdah               '     1 dit space
            idchar = idchar << 1            '     prep for next bit
          wend                              '
          pause chartime                    '   pause between chars
        endif                               '
        pointer = pointer + 1               ' bump table pointer
      wend                                  '
    Last edited by Mike, K8LH; - 28th March 2012 at 18:55.

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