Skip to main content
2 of 2
typo
gre_gor
  • 1.7k
  • 4
  • 18
  • 30

No gotchas I can think of, except for the fact that the ATtiny's memory will be re-initialized every time you reset it. But I assume you are aware of that.

Note that, if you want some data to be preserved across a reset, it is possible using either the on-chip EEPROM or the .noinit section of the RAM.

Edgar Bonet
  • 45.2k
  • 4
  • 42
  • 81