Shop OBEX P1 Docs P2 Docs Learn Events
reading counter A (phsa value) from a different cog — Parallax Forums

reading counter A (phsa value) from a different cog

courtenscourtens Posts: 101
edited 2013-04-09 21:47 in Propeller 1
Is is possible to read the A or B counter from a different cog, or can this only happen within the same cog?

Comments

  • kuronekokuroneko Posts: 3,623
    edited 2013-04-09 21:39
    courtens wrote: »
    Is is possible to read the A or B counter from a different cog, or can this only happen within the same cog?
    No, cog registers are private. The closest you can get to it is when the cog owning the counters periodically transfers their values to hub.
  • courtenscourtens Posts: 101
    edited 2013-04-09 21:47
    Thank you ... I will have to code around it.
Sign In or Register to comment.