Use Basic4ppc to send serial data from a PDA to a BlueSMiRF Bluetooth module.

Discussion in 'Share Your Creations' started by pdablue, Sep 15, 2007.

  1. pdablue

    pdablue Active Member Licensed User

  2. taximania

    taximania Well-Known Member Licensed User

    Nice work :)
    Pity I don't have bluetooth on my device, I'm still struggling to get IR to work with a Microchip.

    My personal opinion, not a pull down :sign0188:
    The text on your web site is a bit big though.
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    Looks great!
    Two tips:
    1. Users with WM6 devices should use the Serial2 library instead (no nead for any other dll).
    2. Instead of all the Button??_Click subs you could do something like:
    Code:
    Sub App_Start
     ...
     
    For i = 3 to 75
       AddEvent(
    "Button" & i,Click,"KeyPad")
     
    Next
    End Sub
    Sub KeyPad
     [SIZE=
    2][COLOR=black]serial.Output (sender.Text)
     label1.Text = strlabeltemp & 
    sender.Text
    End Sub
    [/COLOR][/SIZE]
     
  4. willisgt

    willisgt Active Member Licensed User

    Detecting bluetooth

    Is there an effective way to determine if the phone the program is running on has bluetooth?

    If I open a serial connection on say, port 8, is there an effective way to determine if the bluetooth module is responding?

    Gary
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice