Replies: 1 comment 2 replies
-
I can't help someone to code. The question is not library specific. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm planning on using the RTDB Callback function but I'm worried that operations (e.g., multiplications, if statements, printf, etc.) on variables in other parts of the code could get corrupted when these same variables are being updated inside the RTDB Callback function.
I'm assuming that an interrupt is generated when new data is received, and the Callback function gets called to update variables w/ the changes from RTDB.
Is there anything in place to prevent this from happening? For example, declaring these variables as volatile? I could call the readStream function but I'm afraid I could miss data changes.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions