hi C,
The Oshonsoft example is for a memory IC.
1/ What do the HEX numbers in the SPI code mean e,g, 0x06?
In the example from Oshonsoft, it assumes you are talking to a memory chip, 0x06 is Write Enable command. [ you do not need it]
2/ If I only wanted to read 'say' ADDRESS 0x02, I would expect the reply to be 0x1A. What would the minimum SPI code look like?
The 0x02 is a SPI Write command
3/ In the examples that you posted: Do I replace the default_addr with the address I am checking?
Yes.
E