clau
Newbie level 5
- Joined
- Nov 13, 2013
- Messages
- 10
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 82
Hi everyone!
I want to make a simple test with my PIC18F4550, bluetooth module HC-06 and the computer.
I mean, I want to sent a simple caracter from the PIC to the PC using the bluetooth module.
But I'm having struggles on do this. My code and schematic is next...can somebody help me finding my mistake?
(I'm using RCom Serial or CoolTerminal)
Thanks!
I want to make a simple test with my PIC18F4550, bluetooth module HC-06 and the computer.
I mean, I want to sent a simple caracter from the PIC to the PC using the bluetooth module.
But I'm having struggles on do this. My code and schematic is next...can somebody help me finding my mistake?
(I'm using RCom Serial or CoolTerminal)
Code:
#include <18f4550.h>
#include <stdio.h>
#fuses XT, NOWDT, NOPROTECT, PUT, BROWNOUT, NOLVP, NOCPD, NOWRT
#use delay (clock=4000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7, bits=8, parity=N)
void main ()
{
while (1)
{
printf("A");
}
}
Thanks!