Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AXP2101_Class.cpp not fully implemented #86

Open
Hynek-Texl opened this issue Oct 25, 2023 · 2 comments
Open

AXP2101_Class.cpp not fully implemented #86

Hynek-Texl opened this issue Oct 25, 2023 · 2 comments

Comments

@Hynek-Texl
Copy link

I'm using M5CoreS3 device with AXP2101 chip. In M5Unified repository looks class AXP2101_Class.cpp not fully implemented. Many important methods returns 0. For example:

...
  float AXP2101_Class::getBatteryChargeCurrent(void)
  {
return 0;
  }

  float AXP2101_Class::getBatteryDischargeCurrent(void)
  {
return 0;
  }
...

In comparison in repository M5CoreS3 exists AXP2101.cpp which is fully implemented.

Why AXP2101_Class.cpp is not finished?
Is here some possibility that will be AXP2101_Class.cpp fully implemented in near future?

Thanks.

@lovyan03
Copy link
Collaborator

Hello, @Hynek-Texl
I apologize for any inconvenience caused.
The reason these implementations are incomplete is purely due to my lack of development time resources.
I have created classes for AXP2101 based on the AXP192 implementation, but I am starting with the necessary functions first.
As for the unimplemented functions you mentioned, I have to start by checking whether such functions exist in AXP2101, and at this point I do not know whether I can implement them or not.

@mhaberler
Copy link

@Hynek-Texl if you want to give it a stab yourself, you might find AXP2101 examples around here: https://github.com/lewisxhe/XPowersLib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants