You rock. That fixed it.
Everything seemed to compile error free. I'll download it to the chip on Monday and see if we're in business.
Thanks for the help!
Type: Posts; User: dleach
You rock. That fixed it.
Everything seemed to compile error free. I'll download it to the chip on Monday and see if we're in business.
Thanks for the help!
Hi Laserlight,
Great response, thanks. I understand how those defines are working and basically you and matticus were going about it the same way. His was just a little more broken out. (His...
Matt -
Really appreciate that code I think I might be able to get that to work. Essentially it is just testing each bit, so instead of printf, I'd just do my other code.
Until I hear back from...
laserlight -
When I did this same task before using bitwise operators is how I did it but it wasn't in C so I'm having trouble replicating it. The basic idea I used was: Start with U16 value ->...
Hi Gemera,
Thx for the response. What you're proposing I think is kind of the way I did it to check for the 8 different values, but I didn't use Defines (Remember not a programmer, never used...
Hello all,
Newish to C and just wanted to ask a variation on a common question on this board and google. I have a variable that I'm reading that runs anywhere between 0-128, with each bit of that...