When i run the test function, nothing shows up in the workspace.
I want check the values of my variables but it just doesn't show anything at all.
Best Answer
When the function is done running, the variables in the workspace vanish, as with any computer program. If you want to see what they are, make it a script by getting rid of the function line, and the final end statement. Or, you can put a breakpoint at the very last statement (pause).
Your callback can look at the BytesAvailable property to find out how many bytes are present, possibly reading full groups of 8 bytes in one go, or looping in your callback until less than 8 bytes are available.
Best Answer