Hi,
I'm using the ST32F103G uC and Keli uVision 4.22 IDE.
Something that I don't understand is how to use single bits as variables or as a function return value. With other compilers I know 'bit' and 'bool' but somehow this doesn't seem to work with the armcc compiler. I searched the Internet but could not find anything in that direction.
Who can help me out?
Thanks in advance,
Henk
"mapping bool to int or char"
But, as already noted, that does not give a single-bit variable - as per the original question & title
that does not give a single-bit variable - as per the original question & title
Let's just say I was able to see the intent of the OP by looking beyond the literal meaning of the question. Try it, it can be fun :-)
Yes, all too often the literal question asked is not the real question that should be answered.
Hence my fequent quoting of www.catb.org/.../smart-questions.html
But you need to make clear that the reply given is not a literal answer to the literal question.