meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
arduino:code_collection [2025/03/22 22:11] – [Float to char()] vamsan | arduino:code_collection [2025/03/22 22:54] (current) – [Float to char[]] vamsan | ||
---|---|---|---|
Line 40: | Line 40: | ||
</ | </ | ||
+ | ==== Int to char[] ==== | ||
+ | <code c> | ||
+ | int a; | ||
+ | char sendValue[10]; | ||
+ | itoa (i, | ||
+ | // base: Numerical base used to represent the value as a string, between 2 and 36, where 10 means decimal base, 16 hexadecimal, | ||
+ | |||
+ | </ | ||
==== String to char[] ==== | ==== String to char[] ==== | ||
<code c> | <code c> |