Multicore: Triggering functions to run on Core1 from Core0 #2321
Answered
by
earlephilhower
Jediknite1101
asked this question in
Q&A
-
So I finally got around the encoder X neoPixel library issue. Now I'm trying to figure out how trigger functions to run on the second core from inputs(push buttons & encoders) handle on core0.
|
Beta Was this translation helpful? Give feedback.
Answered by
earlephilhower
Aug 7, 2024
Replies: 2 comments 1 reply
-
Try making your global state variables
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Jediknite1101
-
The coding is DONE! OMG thank you for all your help. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try making your global state variables
volatile
and polling them inloop1
and do whatever is appropriate inloop1
. Something like this: