I am using a PIC16f887 oscillating on an external crystal of 20MHZ
The code is simple
void main() {
uart_init();
while (1) {
uart_puts("test for bluetooth connection", 0);
uart_puts("success", 0);
}
}
The Bluetooth module is on 9600 Baud rate.
And I've used both BlueTerm on Android and HyperTerminal on PC, all I got was either no data at all or truncated data for only serveral seconds before it went freezed again.
I wanna know what's causing this? Is it because the Bluetooth module is broken in some way?