basic question about sharing I/O pin as input
courtens
Posts: 101
I feel kind of stupid asking this question - but is it OK to have one (the same) pin be an input for 2 cogs? So two cogs reading the same signal?
And, one more basic question: - is it OK to have cogs run at different speeds?
Thanks for the feedback.
And, one more basic question: - is it OK to have cogs run at different speeds?
Thanks for the feedback.
Comments
That doesn't work. There is one system clock for all 8 cogs. If you change it from one cog it affects all of them. What made you ask?
I wasn't sure about that, and could not find the right answer in any of the documentations ...
It can be all a bit confusing mixing in snippets of code from different files and seeing the speed in it re-declared. I guess this would need to be left out -- for all "includes" / files?