ESP32 Board with AXP192 Power management
Posted: Wed Jan 06, 2021 4:23 pm
Hi Ben
On my board I have AXP192 Power management IC.
I like to read a register and later write in the register
I have a sample code but I don't know to translate this in flowcode.
I'm always reading 255
here the democode:
https://github.com/RolandoMagico/TTGO-T ... nformation
regards
Stefan
and the democode:
https://github.com/m5stack/M5StickC/blo ... AXP192.cpp
On my board I have AXP192 Power management IC.
I like to read a register and later write in the register
I have a sample code but I don't know to translate this in flowcode.
I'm always reading 255
here the democode:
Here my program: Some info about all the register:uint8_t AXP192::Read8bit( uint8_t Addr )
{
Wire1.beginTransmission(0x34);
Wire1.write(Addr);
Wire1.endTransmission();
Wire1.requestFrom(0x34, 1);
return Wire1.read();
}
https://github.com/RolandoMagico/TTGO-T ... nformation
regards
Stefan
and the democode:
https://github.com/m5stack/M5StickC/blo ... AXP192.cpp