bl602-docs icon indicating copy to clipboard operation
bl602-docs copied to clipboard

improving hello world example & fix Readme dead links

Open adrienluitot opened this issue 4 years ago • 4 comments

This is a little improvement of the Hello World example. I replaced the call of the helloworld() by a printf(), I think it's more intuitive.

I also added a prototype of the bl_uart_init() function to make things clearer and explained a little more its parameters.

I finally took the liberty to change the baud rate, because with some test I figured out that if the baud rate is too high, some bugged characters are printed. I chose 230 400 because it's a multiple of the standard 9600 and seems to me to be a good compromise, it is fast enough and has no bugged character.

adrienluitot avatar Jan 26 '21 23:01 adrienluitot

Hey, there is merge conflict.

Also, The baudrate works good on most of platforms.

gamelaster avatar Feb 06 '21 15:02 gamelaster

Hey, yep indeed @tchebb fixed the problem directly. ^^

For the baudrate I had less bugs with a lower one, but I can edit this if you want.

adrienluitot avatar Feb 06 '21 19:02 adrienluitot

I've just checked the conflict, I wanted to revert but I saw that the number of pages was not updated. But also when I made the PR the DS version 1.6 was not out, so I'm outdated on it. I don't know if you prefer that I update the readme for the number of page, or if you prefer that I revert and I let you do this ?

adrienluitot avatar Feb 06 '21 19:02 adrienluitot

Most common baudrates are 9600 and 115200

uis246 avatar Feb 07 '21 08:02 uis246