Hello,
I have a 20M2 picaxe and I need to know 3 things.
1. Can this particular chip do parallel tasks?
2. If so, how do I run two completely different tasks at once?
3. Can I set a variable on one parallel task, and have the other task read it (does each task have their own set of variables, or are the variables shared), like one task reads inputs and sets variables to the on state, while the other task runs the main program?
P.S is there a way to get 2 picaxes working together using only one pin, like one chip reads 15 inputs (temperature, light levels, etc), and sends the data to another chip that handles the outputs?
I have a 20M2 picaxe and I need to know 3 things.
1. Can this particular chip do parallel tasks?
2. If so, how do I run two completely different tasks at once?
3. Can I set a variable on one parallel task, and have the other task read it (does each task have their own set of variables, or are the variables shared), like one task reads inputs and sets variables to the on state, while the other task runs the main program?
P.S is there a way to get 2 picaxes working together using only one pin, like one chip reads 15 inputs (temperature, light levels, etc), and sends the data to another chip that handles the outputs?
Last edited: