Hello, my name is Nori Abe, from Japan. I’m trying to transfer my
end-node into sleep mode. I think it does. But it seems not to stop
VCC output.
I used this code from Dragino git-hub. it is not the entire code, but
part of it.
// Entering Sleeping Mode
ACSR |=_BV(ACD);//OFF ACD
ADCSRA=0;//OFF ADC
rf95.sleep();
Sleep_avr();
.
.
void Sleep_avr(){
set_sleep_mode(SLEEP_MODE_PWR_DOWN ); // set up sleep mode
sleep_enable();
sleep_mode(); // entering sleep mode
rf95.sleep();
}
Do I miss anything? Maybe missing VCC output disabling command…
If so how can I do it?
And could you tell me the meaning of “OFF ACD”?
If I should ask Dragino, please say so.
Thank you,