Manchester coding

hi

I am currently using Manchester coding in one of my application. I am using Manchester library for the reference.

void setup()
{

man.setupTransmit(TX_PIN, MAN_9600);

}

void loop()
{
man.transmit(1);

}

But when i see my terminal i am getting garbage value. But in actual i am sending 1.Can u help me in this.

Please provide a link to your library.
Please use autoformat (CTRL-T on a PC) on your code.
Please provide your COMPLETE code.
Please use code tags when you copy-and-paste your COMPLETE autoformatted code.
Please read some of the locked posts at the top of this forum and the places that they link to, etc. You may get much better results.

Hi
PFA

#include <Manchester.h>

void setup()
{

man.setupTransmit(TX_PIN, MAN_9600);

}

void loop()
{
man.transmit(1);

}

The result i am getting at terminal is :

⸮⸮⸮Y35⸮Y3⸮⸮Y⸮u⸮Y35⸮Y35⸮Y⸮⸮⸮Y⸮⸮⸮Y3⸮⸮Y3⸮⸮35⸮Y35⸮Y⸮⸮⸮Y⸮⸮⸮Y⸮5⸮Y3⸮⸮Y⸮⸮⸮Y35⸮Y3⸮⸮⸮5⸮Y35⸮Y⸮⸮⸮Y⸮⸮⸮Y⸮⸮⸮Y3⸮⸮Y3⸮⸮35⸮Y35⸮Y⸮⸮⸮Y⸮⸮

The Serial Monitor cannot read Manchester code.

Hi

What would be the best way to decode a message using this..?

Use a Manchester decoder to decode the message.

"1" is not much of a message.

hi
do u have a code for tx and rx

divyanshu8:
hi
do u have a code for tx and rx

did you check the examples that came with the library?

hi

Yes i checked with example code but it doent work

divyanshu8:
Yes i checked with example code but it doent work

You're right... it doesn't! :o

if you feeling brave, you can check the application not here for a sample code (will need some conversion)