PropBasic TASK not running
Spiller
Posts: 52
HI All,
I have attached two PropBasic program here.
First is written for running in the main cog. (COG 0) It is working.
Second the same program is written as TASK dedicated to COG 1. It is not running.
I did't understand what can be the problem.
Best Regards
Spiller
I have attached two PropBasic program here.
First is written for running in the main cog. (COG 0) It is working.
Second the same program is written as TASK dedicated to COG 1. It is not running.
I did't understand what can be the problem.
Best Regards
Spiller
Comments
If the main cog has a pin as an output, then a TASK cannot make it an INPUT.
And if the main cog has a pin as HIGH, then a TASK cannot make it LOW.
Either remove the HIGH and LOW when you define the pins, or define the PINs inside the TASK.
Bean
Spiller