Make sure CE load switch disable on boot

This commit is contained in:
samuelbles07
2025-03-14 11:04:32 +07:00
parent 4b356920c2
commit 8728589ca1

View File

@ -139,6 +139,11 @@ void setup() {
Serial.begin(115200); Serial.begin(115200);
delay(100); /** For bester show log */ delay(100); /** For bester show log */
// First make sure cellular load switch off before initializing anything
pinMode(GPIO_EXPANSION_CARD_POWER, OUTPUT);
digitalWrite(GPIO_EXPANSION_CARD_POWER, LOW);
delay(1000);
/** Print device ID into log */ /** Print device ID into log */
Serial.println("Serial nr: " + ag->deviceId()); Serial.println("Serial nr: " + ag->deviceId());