- This topic has 1 reply, 2 voices, and was last updated 10 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › Can microcontroller send a floating number serially(throug UART)? i want to transfer a floating or double type value to my cont
what actually i am trying to do is, send data from SIMULINK (MATLAB) and perform certain calculations in my ATMEGA16 AVR Microcontroller.
i am only been able to send character from microclontroller, while i want to send a floating number
HELP ME WITH SOME EXAMPLE CODE FOR ATMEGA16 USART
in serial communication only u can send a byte at a time so its not possible to send a datat type other than char instead u can use ascii values for particular values display for ex value 0 ascii is 0x30 like wise u can separate the values and try it for float values to display