Go Down

Topic: Interrupt / EEPROM question (Read 1 time) previous topic - next topic


If I want to write something to EEPROM, Should I disable interrupts or arduino does it automatically for me  ?

Thank you for your answer.

Jack Christensen

If you are planning to use the Arduino EEPROM library, no manipulation of interrupts is needed. This library uses a simple polled approach, as opposed to interrupt-controlled EEPROM access. Just out of curiosity, why did you think interrupts needed to be disabled?


I thought writing the EEPROM must be continuous without interruption.
Thank you for your answer.

Jack Christensen

I'm thinking the hardware probably handles it asynchronously.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131