reading Pokeys pins

C Scripting questions and answers
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4501
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: reading Pokeys pins

Post by ArtF »

Gary:

Version with "ProbeSetupLevel" as variable is now online. Untested but added in the codebase.

Art


gburk
Old Timer
Posts: 324
Joined: Sun Nov 25, 2018 3:57 pm

Re: reading Pokeys pins

Post by gburk »

Art

Not sure how you set it up, but i tried the GlobalGet..

And the only value i get returned is 0, i assume you are looking for a true or false depending on how the probe is set Right ?..
it was the same value returned 0, for false or true after i changed the probe in config settings..

Gary 
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4501
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: reading Pokeys pins

Post by ArtF »

Gary:

Its only set at startup, so even if you switch that setting, youd have to restart to see the change.
Theory being one doesnt change that setting in general use so its not realtime checking it. It should
show 1 for true, 0 for false.

I will double check though and fix it up this weekend if it isnt doing it properly..

Thx
Aty
gburk
Old Timer
Posts: 324
Joined: Sun Nov 25, 2018 3:57 pm

Re: reading Pokeys pins

Post by gburk »

Art

Thank,s i did change from true to false in config and then restarted auggie when i was testing it but always seamed to returning a 0..

Gary
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4501
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: reading Pokeys pins

Post by ArtF »

Gary:

Fixed and tested. On startup the current setting is recorded to that variable.
I had a typo in there so it wasn't changing.

Thx for the test.
Art
gburk
Old Timer
Posts: 324
Joined: Sun Nov 25, 2018 3:57 pm

Re: reading Pokeys pins

Post by gburk »

Art

Yes that fixed it.

Thanks gary
gburk
Old Timer
Posts: 324
Joined: Sun Nov 25, 2018 3:57 pm

Re: reading Pokeys pins

Post by gburk »

Art


if you can remove the print statements you added for testing that would be great, it's making it hard to follow the print outs on the screen now the script will finish running but the prints will keep scowling for a while after wards and i'm having a hard time keeping tract of whats going on at the time..

Thanks gary
Last edited by gburk on Sat Dec 28, 2019 4:12 pm, edited 1 time in total.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest