Hi,
OK, I've found a solution (I was too tied up with creating a Bacom version of the C sample code that follows exactly the same structure).
The data structure just holds the address/data to be written, the Setup Routine reads the data and calls write_register (this automatically adds the offset), and for commands I just call a subroutine command that passes the data directly to the Radio module through SPI.
Back to the code/data Sheets/example code,
Regards
Ian Dobson
↧