1
OLEDs / Re: Problem setting "function select c" register
« on: May 04, 2016, 01:10:09 PM »
I tried writing 0xDC00 to that register and still have the same problem.
Is there a way to query the value of a register? The only reason that I'm writing to it, is that my library maintains the POR state of all the registers locally. This allows me to change individual bits and keep track of the state of the other bits in the same register. This requires a register sync during initialization in which I write a known state into every register. It's not strictly necessary to do this with function select c, since I have no immediate use for it, but I would like it to work for the sake of completeness. This would all be unnecessary of course, if the state of the internal registers could be read back.
Here's where I got 0x02 as the power on state, I was assuming (RESET) was meant to indicate the POR value
Is there a way to query the value of a register? The only reason that I'm writing to it, is that my library maintains the POR state of all the registers locally. This allows me to change individual bits and keep track of the state of the other bits in the same register. This requires a register sync during initialization in which I write a known state into every register. It's not strictly necessary to do this with function select c, since I have no immediate use for it, but I would like it to work for the sake of completeness. This would all be unnecessary of course, if the state of the internal registers could be read back.
Here's where I got 0x02 as the power on state, I was assuming (RESET) was meant to indicate the POR value
