Go Down

Topic: MKRFOX1200 autonomy on batteries (Read 9966 times) previous topic - next topic

pchatill

I modified the wiring.c file and removed the lines:
Code: [Select]
for (uint32_t ul = 0 ; ul < NUM_DIGITAL_PINS ; ul++ )
  {
    pinMode( ul, INPUT ) ;
}

But I didn't noticed any change.
Then I upgraded the Arduino Samd board manager (32-bits ARM Cortex-M0+) 1.6.21 to 1.8.1
And now the current in deepsleep in 0 !! (I mean not measurable)
I'm not specialist and I can't explain why ...
If someone can provide some informations ...
Thanks

avelo

I modified the wiring.c file and removed the lines:
Code: [Select]
for (uint32_t ul = 0 ; ul < NUM_DIGITAL_PINS ; ul++ )
  {
    pinMode( ul, INPUT ) ;
}

But I didn't noticed any change.
Then I upgraded the Arduino Samd board manager (32-bits ARM Cortex-M0+) 1.6.21 to 1.8.1
And now the current in deepsleep in 0 !! (I mean not measurable)
I'm not specialist and I can't explain why ...
If someone can provide some informations ...
Thanks
1.8.1 Incorporates exactly that changes (among others), so probably the code resulted messed anywhere in your 1.6.21...

Go Up