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

screen doesnt work with any firmware example #1

Open
asg02fever opened this issue Jun 28, 2024 · 1 comment
Open

screen doesnt work with any firmware example #1

asg02fever opened this issue Jun 28, 2024 · 1 comment
Labels

Comments

@asg02fever
Copy link

hello, i got a probleme , after unboxing it the factory firmware was working great , i tried to install an other and since thise i no more have screen display in any case, even with the given demo in the gith repo the screen stay still on the last image , and whene i try to flash the demo i get lot of error for no reason , esp32 board version 2.0.17 ,

there you have my error code

 In file included from C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui.h:8,
                 from C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp:1:
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\display_demo.h:42:8: error: 'XPowersPPM' does not name a type; did you mean 'XPowersAXP202'?
 extern XPowersPPM PPM;
        ^~~~~~~~~~
        XPowersAXP202
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp: In function 'bool battery_25896_is_chr()':
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp:152:8: error: 'PPM' was not declared in this scope
     if(PPM.isVbusIn() == false) {
        ^~~
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp: In function 'const char* battery_25896_get_CHG_ST()':
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp:166:12: error: 'PPM' was not declared in this scope
     return PPM.getChargeStatusString();
            ^~~
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp: In function 'const char* battery_25896_get_VBUS_ST()':
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp:170:13: error: 'PPM' was not declared in this scope
      return PPM.getBusStatusString();
             ^~~
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp: In function 'const char* battery_25896_get_NTC_ST()':
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp:174:12: error: 'PPM' was not declared in this scope
     return PPM.getNTCStatusString();
            ^~~
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp: In function 'float battery_25896_get_VBUS()':
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp:178:13: error: 'PPM' was not declared in this scope
     return (PPM.getVbusVoltage() *1.0 / 1000.0 );
             ^~~
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp: In function 'float battery_25896_get_VSYS()':
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp:182:13: error: 'PPM' was not declared in this scope
     return (PPM.getSystemVoltage() * 1.0 / 1000.0);
             ^~~
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp: In function 'float battery_25896_get_VBAT()':
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp:186:13: error: 'PPM' was not declared in this scope
     return (PPM.getBattVoltage() * 1.0 / 1000.0);
             ^~~
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp: In function 'float battery_25896_get_targ_VOLT()':
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp:190:13: error: 'PPM' was not declared in this scope
     return (PPM.getChargeTargetVoltage() * 1.0 / 1000.0);
             ^~~
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp: In function 'float battery_25896_get_CHG_CURR()':
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp:194:13: error: 'PPM' was not declared in this scope
     return (PPM.getChargeCurrent());
             ^~~
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp: In function 'float battery_25896_get_PREC_CURR()':
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp:198:13: error: 'PPM' was not declared in this scope
     return (PPM.getPrechargeCurr());;
             ^~~
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp: In function 'void ui_batt_power_off()':
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui_port.cpp:252:5: error: 'PPM' was not declared in this scope
     PPM.shutdown();
     ^~~
In file included from C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui.h:8,
                 from C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui.cpp:1:
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\display_demo.h:42:8: error: 'XPowersPPM' does not name a type; did you mean 'XPowersAXP202'?
 extern XPowersPPM PPM;
        ^~~~~~~~~~
        XPowersAXP202
In file included from C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\ui.h:8,
                 from C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\display_demo.ino:2:
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\display_demo.h:42:8: error: 'XPowersPPM' does not name a type; did you mean 'XPowersAXP202'?
 extern XPowersPPM PPM;
        ^~~~~~~~~~
        XPowersAXP202
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\display_demo.ino:26:1: error: 'XPowersPPM' does not name a type; did you mean 'XPowersAXP202'?
 XPowersPPM PPM;
 ^~~~~~~~~~
 XPowersAXP202
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\display_demo.ino: In function 'void setup()':
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\display_demo.ino:537:9: error: 'PPM' was not declared in this scope
         PPM.init(Wire, BOARD_SDA, BOARD_SCL, BQ25896_SLAVE_ADDRESS);
         ^~~
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\display_demo.ino:537:46: error: 'BQ25896_SLAVE_ADDRESS' was not declared in this scope
         PPM.init(Wire, BOARD_SDA, BOARD_SCL, BQ25896_SLAVE_ADDRESS);
                                              ^~~~~~~~~~~~~~~~~~~~~
C:\Users\morga\Desktop\T-EPD47-S3-master\examples\display_demo\display_demo.ino:537:46: note: suggested alternative: 'AXP192_SLAVE_ADDRESS'
         PPM.init(Wire, BOARD_SDA, BOARD_SCL, BQ25896_SLAVE_ADDRESS);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              AXP192_SLAVE_ADDRESS
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant