Page 1 of 1

UART

Posted: Sun Mar 14, 2010 7:44 pm
by guille
Hello I´m Guillermo from Argentina! congratulations for the blocks! are great! I want to know if I am doing something badly in my design. I want to send a character for the UART, I am going to send numbers, I want to convert it to double, to add a number and return to send it. It does not work, returns garbage to me. Here is the model.
If someone can help me please...
Thanks
UART.mdl
(32.17 KiB) Downloaded 520 times

Re: UART

Posted: Tue Feb 15, 2011 6:56 pm
by resodad
Hi Guillermo,
I'm not sure what you're trying to accomplish.
Do you need the data store for some other purpose?
Maybe you can eliminate it?

Why are you converting to double? Convert to uint8 after the sum keeps only the least significant 8-bit byte.

You may have a problem with the order of execution of the blocks.