Hi everyone,
I'm looking to work with my RDA5807 module without the library because I'm having a hard time understanding the logic of the commands in the library. And it doest'n seem so difficult to controll it using the wire library using the datasheet. With stress on seem....
Let's say I want to perform a soft reset.
According to the datasheet I should change the value of bit 1 in register 02H from 0 to 1.
I found the following example code on this forum in another post:
Wire.beginTransmission(0x11); // Device address 0x11 (random access)
Wire.write(0x02); // Register address 0x02
Wire.write(0xC0); Wire.write(0x03); // write 0xC002 into Reg.3 (soft reset, enable)
Wire.endTransmission(); // stop condition
I really don't get how these writes accomplish what I described before according to the datasheet.
Can someone clarify that, so can examine the rest of the code myself.
Thanks!
Bram
Bram