Shop OBEX P1 Docs P2 Docs Learn Events
cog question — Parallax Forums

cog question

Given the provided code, process display_speed can't see variable control_position from main. I have a working example in some code that I wrote a long time ago that I am trying t0 emulate, but I can't figure it out.

Comments

  • I figured it out finally. It is all in the placement of static volatile int control _position.

Sign In or Register to comment.