Going over the code samples to learn how to best prepare for LPM I found:
- Radio.Sleep(); => LORA
- Wire.end(); => OLED
- Serial.end(); => Serial
Plus the following I’m not sure about:
- detachInterrupt(RADIO_DIO_1); => LORA - Attach after wakeup? Is this done automated when going in receive mode?
- pinMode(Vext,ANALOG); => Use right now “pinMode(Vext,OUTPUT); digitalWrite(Vext,HIGH)”. Why analog? What is better?
- pinMode(ADC,ANALOG); => Why?
Is there anything I forgot/oversaw?
Thank you for your time & advice in advance.