Hello everybody, i am playing with a thermal printer and the kinetis FRDM _k64f , i send text by UART to the printer succesfuly but if i want change the printer settings i need to send not a char or a string , i need to send or writr a byte to the UART , i have been doing in arduino using write.byte but oviously in c it doesn´t work in the same way . Some one have any idea to send an hexadecimal byte ?
Hi Marcela,
You may use UART_DRV_SendDataBlocking() or UART_DRV_SendData() to send the raw data out via UART. Please refer to C:\Freescale\KSDK_1.2.0\examples\frdmk64f\driver_examples\uart for more details.
Have a great day,
Kan
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------