Shop OBEX P1 Docs P2 Docs Learn Events
Help with Bs2 — Parallax Forums

Help with Bs2

scott99scott99 Posts: 14
edited 2010-03-22 18:55 in Propeller 1
Hi, My name is Scott, building a clock drive for a telescope. I want to use the bs2 for my frequency controller (using a synchronous drive motor). The program works for the proper sidereal speed but·I need to add a different frequency for lunar tracking.

' {$STAMP BS2}
' {$PBASIC 2.5}

DEBUG "tone sending"
DO

FREQOUT 12, 60000*10000, 1193

LOOP

How do I write the program to have a push button switch to a different frequency output, either on the same pin or a different one?

Desperate in Chicago,
Scott

Comments

  • LeonLeon Posts: 7,620
    edited 2010-03-22 18:40
    Wrong forum!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Leon Heller
    Amateur radio callsign: G1HSM
  • FranklinFranklin Posts: 4,747
    edited 2010-03-22 18:55
    And you have another message you should go and delete using the red X in the upper right corner.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.