I have the Arduino Due I am planning to use the Scheduler library or one that allows me to. However, I dont quite understand how can I pass data safely between tasks. Lets say I have some process that runs at 2 Hz, when that finished I want to pass that data to the 1 Hz tasks.
Can anyone provide to me some guidance into this. There is not an example of this at http://playground.arduino.cc//Main/LibraryList#Sched nor http://playground.arduino.cc/Main/SketchList, http://arduino.cc/en/Reference/Scheduler