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 advanced examples of connecting to a Go Direct device using JavaScript.
For more basic examples, take a look in the javascript folder.
The gdx_making_a_chart.html example shows how you can use the gdx functions to create a chart of sensor data using the chart.js library and:
The gdx_photogate.html example shows how use GDX functions to detect when Gate 1 is blocked on a photogate by:
The gdx_start_stop_desmos.html example uses a Bluetooth Low Energy (BLE) connection and demonstrates how you can use the gdx functions to:
The gdx_using_desmos.html example shows you how to use the library:
The gdx_using_two_devices.html example shows you how to connect to two Go Direct Devices using the GDX and Chart.js library:
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.