Swampy,
Isn't the default baud rate for the HC-06 9600?
If so, try setting the HSER port baud rate on the PIC in PBP to 9600.
Swampy,
Isn't the default baud rate for the HC-06 9600?
If so, try setting the HSER port baud rate on the PIC in PBP to 9600.
Regards,
TABSoft
Swampy ??? SWampy !! - actually I quite like that for a user name
Doh ! Re-compiled with settings for 9600 (need more sleep !!), didn't get "Hello", looks more like Klingon but had more bytes (80,98,9E,E0,FE,9E was the most common).
Sorry, autocorrect. :-0
Can you setup your terminal program to receive in hex and capture the repeating string as received?
Regards,
TABSoft
For the 18F4580 @ 40MHz you have several options for 9600. I would try option 1 with the best %error rate.
1. Synch = 0, BRGH = 0, BRG16 = 1, SPBRG = 1040 (dec) 0.06% error rate
2. Synch = 0, BRGH = 0, BRG16 = 0, SPBRG = 64 (dec) 0.16% error rate
3. Synch = 0, BRGH = 1, BRG16 = 0, SPBRG = 25 (dec) 0.16% error rate
4. Synch = 0, BRGH = 0, BRG16 = 1, SPBRG = 259 (dec) 0.16% error rate
Regards,
TABSoft
Bookmarks