Shop OBEX P1 Docs P2 Docs Learn Events
outa in a cog — Parallax Forums

outa in a cog

Alexis64Alexis64 Posts: 42
edited 2011-04-22 13:32 in Propeller 1
Can outa[xx] be used in a separate cog (ie not the main one) ?

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

Sign In or Register to comment.