01-06-2017, 08:20 AM
(This post was last modified: 01-14-2017, 08:03 AM by The Grim Sleeper. Edited 1 time in total.)
I like using TermOS scripts to make shorthand scripts for many gptio functions.
Atm many gptio functions seem to fail when used in a script, and worse, lock up the terminal from which they are issued.
Using the commands outside of scripts works fine.
Any 'gptio read XX' command used in a script will only output 'Loading...' and lock up the terminal.
Any 'gptio poke XX aa bb' command used in a script will only output 'Sending...' and lock up the terminal. However, the device seems to change the poked variable to the new value.
However, if the script ends with a 'gptio activate XX' or a 'gptio deactivate XX' line, the script will reach it, execute it and free the terminal for new commands.
Here are some of the scripts I used (curtsey of Zamujasa, I think), to test this
Atm many gptio functions seem to fail when used in a script, and worse, lock up the terminal from which they are issued.
Using the commands outside of scripts works fine.
Any 'gptio read XX' command used in a script will only output 'Loading...' and lock up the terminal.
Any 'gptio poke XX aa bb' command used in a script will only output 'Sending...' and lock up the terminal. However, the device seems to change the poked variable to the new value.
However, if the script ends with a 'gptio activate XX' or a 'gptio deactivate XX' line, the script will reach it, execute it and free the terminal for new commands.
Here are some of the scripts I used (curtsey of Zamujasa, I think), to test this