lewisxhe / XPowersLib

Arduino,CircuitPython,Micropython, esp-idf library for x-powers power management series
MIT License
71 stars 22 forks source link

Are AXP2101 and AXP2102 the same? #7

Closed LeonardoCT closed 1 year ago

LeonardoCT commented 1 year ago

Hello, i'm trying to compile some examples and when i open the "AXP2101_Example" right at the start the file i see:

// Defined using AXP2102
#define XPOWERS_CHIP_AXP2102

And if i try to use:

#define XPOWERS_CHIP_AXP2101

it doesn't exist, so do AXP2101 and AXP2102 use the same protocol and can be used interchangeably? or i'm just a dummy?

lewisxhe commented 1 year ago

Thank you, this is an error caused by copy and paste, it has been modified