One common requirement is to test if a particular bit is set or unset. Actually it is just as easy to test for any number of bits set or unset because the job is done using a mask. As before, if you ...
The BBC has developed a computer to be used by thousands of students across the UK. While not very powerful in terms of hardware, it comes with an interpreted language that will get students writing ...
These resources walk students through how to get started writing, testing, debugging and extending python code on a BBC micro:bit. This is designed for beginners, with the focus on how to display text ...
I seem to be having a brain fart today as my mind is just blank. I'm parsing datagrams to extract some data. I have an x,y coordinate pair in 8 bytes. My ICD tells me: bytes 1-4 are the X position ...
Two pages of Python programming techniques/blocks and examples. Perfect to laminate 30 double sided and use these as hand outs in lesson. Or print these out for each student to keep a copy in their ...
What sorts of things do you use masking operations for? Often a low-level API will require that particular bits in a status word are set or unset to make it operate in a particular way. A very ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results