• Python

    From Spectre@21:3/101 to Anybody Else on Monday, February 03, 2020 19:46:00
    Todays problem...

    Does anyone have a reasonable hand at python? I have a script that will read the temperature from the USB thermometer. It tries to be a swiss army knife talking to a number of models by querying the device first to see what it is.

    I'm guessing it has to change modes for all this to work, and theres some kind of timeout on how it works. But for all intents I have no idea how it works or any idea just how to read this script.

    What I need is it to be cut into a specific device script and if the read fails then use an error not some stdout message. So I know what the device
    is going in, I've only got one, and it'll always be in the same place. And I just need to get the reading out of it, everything else is superfluous. All I really need... as output is...

    the time and the temp, to stdout for redirection. I'll pop the existing script as temp.zip up at

    http://tlp.zapto.org/hidden_stuff/temp.zip

    If anyone is interested in having a look....

    Spec


    --- SuperBBS v1.17-3 (Eval)
    * Origin: < Scrawled in blood at The Lower Planes > (21:3/101)