Official examples for Vernier Go Direct® Sensors in both Python and JavaScript
This project is maintained by VernierST
If you are new to JavaScript, you may want to visit our Go Direct FAQ page for some tips and troubleshooting ideas.
The examples in this folder will walk you through some of the basics of talking to a Go Direct® device using JavaScript.
For other ideas and more advanced examples, take a look in the /advanced_examples/ folder.
The gdx_getting_started_1.html example shows how you can use the gdx functions to list information on all of the sensor channels on a Go Direct device. This includes sensor channel number, sensor description, units, and “incompatible sensors”.
The gdx_getting_started_2.html example uses a Bluetooth Low Energy (BLE) connection and demonstrates how you can use the gdx functions to:
The gdx_getting_started_3.html example shows you how to use the library:
The gdx_getting_started_4.html example shows you how to avoid using prompts (and instead pass arguments) to select the active sensors and set the measurement period:
The gdx_getting_started_5.html example shows you how to store data in global array and download it as a csv file. It shows you how to:
All of the content in this repository is available under the terms of the BSD 3-Clause License.
Vernier products are designed for educational use. Our products are not designed nor are they recommended for any industrial, medical, or commercial process such as life support, patient diagnosis, control of a manufacturing process, or industrial testing of any kind.