Working with the BlueSMiRF
I've been using the screen command from terminal (osx 10.6.8)
screen /dev/tty.FireFly-E741-SPP
I was using the demo code from
Demo Code for EEM202A/CSM213A Fall 2010
However, this was not working for me. After looking through,
http://www.lynxmotion.com/images/html/build125.htm and http://www.sparkfun.com/tutorials/67 and the usb virtual serial port (I think it was this one...)
I found that you can set the baud for the serial port (of course, but for some reason i thought screen would figure it out for me),
Serial bt(p9, p10);
by using
bt.baud(115200)
Apparently the BlueSMiRF defaults to 115.2k (lynxmotion article) and without the mbed serial set to this it will, of course, not work.
Also, not that i have RTS and CTS connected together.
1 comment on Working with the BlueSMiRF:
Please log in to post comments.
Thanks for the post. I couldn't figure out what was wrong. After reading your comment I set the baud to 115200, connected rts and cts, and voila!
Aloha!