Help with bluetooth...


Results 1 to 25 of 25

Threaded View

  1. #11
    Join Date
    Oct 2008
    Posts
    65

    Default

    Hi to all, I change the codes and Port pin setup, at this time I used the SERIN and SEROUT...
    Code:
    include "modedefs.bas"
    B2 var byte 
    pause 500
    
    start:   
    
           serin 0,T9600,B2 ''''''''''''''''''''''''''' PortB.0 as my recieve pin from bluetooth Tx
           Serout PORTC.6, T9600, [#B2,10,13] '''''''''''''''''''''''PortC.6 as Transmit pin	 to pc com1
    
    	   IF B2 = 65 then  
    	       If PortB.1 = 0 then
    	          High PortB.1 
               else
                  Low PortB.1
               Endif 
               else
               	            
    	   ENdif
    goto start
    I noticed that it is generating random numbers pls see the attach...anybody knows what's the reason?

    Thanks in advance
    mbox
    Attached Images Attached Images  
    Last edited by mbox; - 6th October 2009 at 07:34.

Similar Threads

  1. Bluetooth problme with the 16F877A
    By slimpeng in forum Bluetooth
    Replies: 6
    Last Post: - 27th June 2009, 12:06
  2. interaction between Bluetooth and PIC MCU
    By veenadari in forum Bluetooth
    Replies: 1
    Last Post: - 23rd June 2009, 15:03
  3. help my bluetooth and PIC 16F877A?
    By slimpeng in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th March 2008, 06:52
  4. Bluetooth GPS and PBP interfacing
    By RFsolution in forum Bluetooth
    Replies: 0
    Last Post: - 5th January 2006, 11:17
  5. Bluetooth wireless with PIC / HSERIN / DAC
    By rpatel in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th December 2004, 22:13

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