Yocto-Knob: 5 Channel, USB input library.

Post your working scripts, libraries and tools
x32
Posts: 85
Joined: 25 Nov 2016, 16:44

Yocto-Knob: 5 Channel, USB input library.

13 Mar 2018, 09:09

Going along with my USB Relay library, I'm reviving my post, from the old forums, for capturing USB inputs.

Yocto-Knob: 5 Channel, USB, resistive sensing, analog-to-digital converter. HTML Library.

The Yocto-Knob device provides easy reading of 5 input buttons, contacts, switches or potentiometers (knobs) from USB. It is a kind of USB analog-to-digital converter (adc). It can also be used to read any analog resistive sensor, such as photodiodes.

Image

This is a partial library of basic functions using it's webserver interface and is dependent on the VirtualHub webserver. http://www.yoctopuce.com/FR/downloads/VirtualHub.windows.12553.zip

Multiple modules may by used simulaniously so most functions required the modules serial number to identify it. The serial number can be found by runiing VirtualHub and entering the following url into a web browser. http://127.0.0.1:4444/api/services/whitePages.txt. Look for the serial number that begins with "YBUTTON1" i.e. "YBUTTON1-12345" is a complete serial number.

Library functions:

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus



And here is a sample script:

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Return to “Scripts and Functions”

Who is online

Users browsing this forum: No registered users and 20 guests