SPI master, send decimal numbers

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
HaHa_285681
Level 3
Level 3
First like given

Hi to everyone, 

   


I need to send decimal numbers via SPI master, but  SPIM_WriteTxData(), can send only hex numbers.
How to send decimals? how can I convert them to hex and then put in SPIM_WriteTxData() function? 

   


regards,
Hakob

0 Likes
17 Replies