I have a long that is under 255 and I want to convert it to a char.
I'm loading into into an array of char's but only want this first number to go into the first element of the array.
When I use ltoa I end up with
array[0] = 2
array[1] = 5
array[2] = 5

I'd like

array[0] = 255

THanks