wifly serial sends odd characters

25 Feb 2013

Hey

I have a wifly module set up in ad-hoc mode to which I am connecting with my netbook. I can $$$ in fine and get out the info of the board, however when I try to send serial data to the board from the mbed it spews out a load of weird characters. For example a prints 0 and b prints a symbol that’s like a circle with a line under it. At first I thought it might be a problem with ascii tables but I can’t find any correlation between the outputs and the tables.

To send the data I’m simply using

uart.putc('a');
uart.putc('b');
uart.putc('\n');

With uart being a serial connection. I checked the baud rate of the module is running at 9600 and set this aswell, but it doesnt change a thing.

Anyone have any ideas what’s going wrong?