Shop OBEX P1 Docs P2 Docs Learn Events
How to access FRQA from Gear ? — Parallax Forums

How to access FRQA from Gear ?

mstrammstram Posts: 49
edited 2015-04-27 01:57 in Propeller 1
How can I access FRQA from a Gear plugin ?

I guess the realistic way is by copying FRQA to a pin in the SPIN program,
then accessing the pin from the plugin ?

**edit*

I messed up this thread, by editing my post.

Someone posted about GetCog in the Propeller class, but before I could reply, or note who had replied, I messed up the thread
by editing the title.

Sorry, and if it was you, please repost

Comments

  • kuronekokuroneko Posts: 3,623
    edited 2015-04-27 01:57
    The Propeller class exposes its cogs through GetCog. Access to the special registers is then done though ReadLong/WriteLong. Not sure about the XML connection though (can't test right now).
Sign In or Register to comment.