convert binary to exadecimal
Hi,
I want to have the status of 150 banners (on / off) in hexadecimal format, but do not know the method with MMF2
I found this solution:
I wrote the status of these banners on a "string" es:
"1110000000"
in this case the first three banners are ON but this is a string for 10 banner and is simple.
the problem is when I have to store the state of 150 banners because the string is 150 characters.
How can I do to have the status of 150 es variables of these banners 0/1 with a size of a few characters
a binary value like this: 1111111100 from as a result esadecomale = 3fc
How can I get this formula with MMF 2?
Thanks