Language - JavaScript Browser: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
|} | |} | ||
==Install Phidget Drivers== | |||
Before getting started with the guides below, ensure you have the following components installed on your machine: | |||
* You will need the Phidgets drivers installed (choose your OS): | |||
** [[OS_-_Windows#Quick_Downloads|Windows Drivers]] | |||
** [[OS_-_macOS#Quick_Downloads|macOS Drivers]] | |||
** [[OS_-_Linux#Quick_Downloads|Linux Drivers]] | |||
== Use Our Examples == | |||
One of the best ways to start programming with Phidgets is to use our example code as a guide: | |||
* [{{SERVER}}?view=code_samples&lang=JavaScript&os=Browser JavaScript Browser Examples] | |||
== Editing the Examples == | |||
== Write Code == | |||
== Setting up a New Project == | |||
== Further Reading == | |||
[[Phidget Programming Basics]] - Here you can find the basic concepts to help you get started with making your own programs that use Phidgets. | |||
[[Data Interval/Change Trigger]] - Learn about these two properties that control how much data comes in from your sensors. | |||
[[Using Multiple Phidgets]] - It can be difficult to figure out how to use more than one Phidget in your program. This page will guide you through the steps. | |||
[[Polling vs. Events]] - Your program can gather data in either a polling-driven or event-driven manner. Learn the difference to determine which is best for your application. | |||
[[Logging, Exceptions, and Errors]] - Learn about all the tools you can use to debug your program. | |||
[[Phidget Network Server]] - Phidgets can be controlled and communicated with over your network- either wirelessly or over ethernet. |
Revision as of 20:53, 19 October 2018
JavaScript Development Environments | ||
---|---|---|
Any OS |
Language - JavaScript In-Browser Welcome to using Phidgets with Javascript! By using Javascript, you will have access to the complete Phidget22 API, including events. Running your JavaScript program in a browser is accessible and can be done in Windows, macOS, or Linux. |
Install Phidget Drivers
Before getting started with the guides below, ensure you have the following components installed on your machine:
- You will need the Phidgets drivers installed (choose your OS):
Use Our Examples
One of the best ways to start programming with Phidgets is to use our example code as a guide:
Editing the Examples
Write Code
Setting up a New Project
Further Reading
Phidget Programming Basics - Here you can find the basic concepts to help you get started with making your own programs that use Phidgets.
Data Interval/Change Trigger - Learn about these two properties that control how much data comes in from your sensors.
Using Multiple Phidgets - It can be difficult to figure out how to use more than one Phidget in your program. This page will guide you through the steps.
Polling vs. Events - Your program can gather data in either a polling-driven or event-driven manner. Learn the difference to determine which is best for your application.
Logging, Exceptions, and Errors - Learn about all the tools you can use to debug your program.
Phidget Network Server - Phidgets can be controlled and communicated with over your network- either wirelessly or over ethernet.