Browse Source

AXP GPS power coments

pull/11/head
Rysiek Labus 1 year ago committed by GitHub
parent
commit
6c02afd83c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/TTGO_T-Beam_LoRa_APRS.ino

8
src/TTGO_T-Beam_LoRa_APRS.ino

@ -328,11 +328,11 @@ void setup(){
if (!axp.begin(Wire, AXP192_SLAVE_ADDRESS)) {
}
axp.setPowerOutPut(AXP192_LDO2, AXP202_ON);
axp.setPowerOutPut(AXP192_LDO3, AXP202_ON); // switch on GPS
axp.setPowerOutPut(AXP192_LDO2, AXP202_ON); // Lora power
axp.setPowerOutPut(AXP192_LDO3, AXP202_ON); // provides power to GPS
axp.setPowerOutPut(AXP192_DCDC2, AXP202_ON);
axp.setPowerOutPut(AXP192_EXTEN, AXP202_ON);
axp.setPowerOutPut(AXP192_DCDC1, AXP202_ON);
axp.setPowerOutPut(AXP192_DCDC1, AXP202_ON); // enables power to OLED LCD
axp.setDCDC1Voltage(3300);
if(!display.begin(SSD1306_SWITCHCAPVCC, SSD1306_ADDRESS)) {
@ -581,4 +581,4 @@ void displayInvalidGPS() {
}
// end of main loop
// end of main loop

Loading…
Cancel
Save