outa in a cog
Alexis64
Posts: 42
Can outa[xx] be used in a separate cog (ie not the main one) ?
i tried this:
i tried this:
pub start dira[2]~~ ... cognew(test,@stack) ... pub test repeat !outa[2] waitcnt(clkfreq/4+cnt)but it did not work for me.
Comments
You need toput the dira[2]~~ inside of pub test
Tom