Blog > Share byte variables?

Home Forums ViewPort Share byte variables?

This topic contains 1 reply, has 2 voices, and was last updated by  Hanno .

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12353

    Anonymous

    I’ve been trying to figure out how to share byte variables. I now know this is not directly possible like sharing long variables is. I’m wondering if there is a work-around? Still fairly new to viewport but thoroughly pleased to this point. Now if I can just figure out how to share byte or even possibly word variables. Any help greatly appreciated!

    #12385

    Hanno
    Keymaster

    ViewPort works by sharing a section of global memory. You can share memory that the spin program treats as byte variables just like you would share long variables. Inside ViewPort you configure to view that variable as a byte.
    Hanno

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.