1

Do you have to upload the UNO after the applied power is disconnected?

Does the UNO retain the code without any power?

And when the power is disconnected, if the code is retained, will the timers retain their values? Thanks

Nick Gammon
38.9k13 gold badges69 silver badges125 bronze badges
asked Jul 14, 2023 at 22:33

2 Answers 2

4

Do you have to upload the UNO after the applied power is disconnected?

No.

Does the UNO retain the code without any power?

Yes.

And when the power is disconnected, if the code is retained, will the timers retain their values?

No.

answered Jul 14, 2023 at 22:38
1

This answer simply add some detail to that provided by VE7JRO to make it more generally applicable but this does look rather like a school assignment. Program code is stored in flash memory and this is retained after a power down. It is not necessary to reload it. The registers which hold timer values or other data from a running program are stored in RAM memory and this is lost on power off. It is possible also to save some data from a running program in EEPROM (or in some cases flash memory) which also survives after a power down.

answered Jul 15, 2023 at 6:47

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.