| | Re: Spybot Studies: display an 8-bit value John Hansen
| | | (...) Mark Riley did this using MindScript but I don't recall having already seen the equivalent in NQC. (URL) than use a #define macro (speaking of which, I need to fix the syntax highlighting of preprocessor macros to account for multiple lines) I (...) (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
| | | | | | | | Re: Spybot Studies: display an 8-bit value Mark Riley
| | | | | (...) In case anyone was wondering (yeah, sure :-), this line in my original post: lediDisplay = (x & 0x17) ((x & 8) * 4) ((x & 32) / 4) rearranges the bits so that the lower 6 bits can easily be read left to right (while looking at the bot from the (...) (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics, FTX)
| | | | | | |