So, looking further into this, it appears that the bug from the previous message doesn't apply... However, it's opened up a can of worms in regards to how the I2C bus is being handled by two different libraries. There goes appear to be a potential issue and I'm having to break out the big guns to debug it.
Until then, I'm going to build a new firmware that removes some unused (at this point) code that supported some other features until I can unify their respective I2C libraries so this conflict doesn't exist.
Removing the OLED shouldn't have any effect on it.
Hmmm... I've not seen that. When you press the button after this, does the red led blink? And what does the green LED do when you press it?
I see the OLED isn't even updating... I'll poke around in the code to see if I can see where that could possibly happen. (The issue I see here is that the screen isn't updating, which is in the Adafruit OLED driver itself... so maybe there's a bug in it.)
But I'll poke around and see if I can try to replicate it. Can you tell me approximately where this failed? Like after how many color changes? Also, can you confirm that you're electrically hooked up correctly and no wires are damaged?
So, looking further into this, it appears that the bug from the previous message doesn't apply... However, it's opened up a can of worms in regards to how the I2C bus is being handled by two different libraries. There goes appear to be a potential issue and I'm having to break out the big guns to debug it.
Until then, I'm going to build a new firmware that removes some unused (at this point) code that supported some other features until I can unify their respective I2C libraries so this conflict doesn't exist.
Removing the OLED shouldn't have any effect on it.
Bill
Hmmm... I've not seen that. When you press the button after this, does the red led blink? And what does the green LED do when you press it?
I see the OLED isn't even updating... I'll poke around in the code to see if I can see where that could possibly happen. (The issue I see here is that the screen isn't updating, which is in the Adafruit OLED driver itself... so maybe there's a bug in it.)
But I'll poke around and see if I can try to replicate it. Can you tell me approximately where this failed? Like after how many color changes? Also, can you confirm that you're electrically hooked up correctly and no wires are damaged?