EEVblog Electronics Community Forum

Products => Computers => Networking & Wireless => Topic started by: MAD MACRO on September 08, 2019, 09:58:22 pm

Title: pic18f2550 with HC-05
Post by: MAD MACRO on September 08, 2019, 09:58:22 pm
I'm using a pic 18f2550 and HC-05 bluetooth module, i'm running into a minor issue, but it's very hard to debug.
I'm sending and receiving data successfully, but there's always 2 extra characters being sent after the transmission from another device(my android phone)
I tried to send it back to myself, and i end up with an endless buffer of undefined characters that get to be represented by the app with the letter y with 2 dots on top of it.

Here's the code: https://github.com/wamry/bt-firmware
Just run command make to build, or make flash to build and program the chip