Beagleboard:BoneScript

Bonescript
Bonescript is a Node.js library specifically optimized for the Beagle family, featuring familiar Arduino function calls, exported to the browser. The BoneScript library provides several functions useful for interacting with your hardware. Listed below is a list of BoneScript demos.

Potentiometer
Using a potentiometer, you can send a specific voltage to any one of the ADC1 channels. Visit this link for more details.

Push-Button
Using the GPIO pins, you can simulate a program with a push button and LED. Visit this link for more details.

2-Axis Thumb Joystick
The Analog 2-axis Thumb Joystick allows you to easily mount a PSP/Xbox-like thumb joystick to your project. Using analog pins, the BeagleBone will read and determine both the X and Y axis. Visit this link for more details.

Micro Servo Motor
The Micro Servo Motor can rotate 180 degrees and is usually used in applications such as robotics, CNC machinery, or automated manufacturing. Visit this link for more details.

LV-MaxSonar-EZ2 High Performance Sonar Range Finder
The LV-MaxSonar-EZ2 High Performance Sonar Range Finder provides very short to long-range detection and ranging, in an incredibly small package. The sonar detects objects from 0-254 inches and provides sonar range information from 6-inches out to 254-inches with 1-inch resolution. Visit this link for more details.

PIR Motion Sensor
The PIR Motion Sensor, or Passive Infrared Sensor, is a sensor that takes a snapshot of the room and sets the 'alarm' pin to 'LOW' if it detects changes in heat. Visit this link for more details.

BMP085 Pressure Sensor
Adafruit offers a BMP085 Sensor that measures barometric pressure and temperature via I2C. Visit this BMP on the BeagleBone Black for more details.

8x8 Bi-Color LED Matrix
The 8x8 Bi-Color Matrix has 24 pins that can be configured to display three color images through an I2C interface. Visit this 8x8 Bi-Color LED Matrix for more details.

8x8 Beagle Matrix
Using the 2-Axis Thumb Joystick and an 8x8 Bi-Color Matrix, you can play a game, similar to that of Snake. Visit this [Beagleboard:Beagle_Matrix | Beagle Matrix]] for more details.

16x16 Beagle Matrix
Using the 2-Axis Thumb Joystick and four 8x8 Bi-Color Matrix, you can play a game, similar to that of Snake. Visit this 16x16 Beagle Matrix for more details.

ADXL335 3-axis Accelerometer
The ADXL335 is a triple axis MEMS accelerometer that gives the x, y, and z axis. Visit this link for more details.

Weather Cape
The BeagleBone Weather Cape provides weather data for the BeagleBone, including temperature, barometric pressure, humidity, and ambient light. More information on the Weather Cape can be found Weather Cape Work-Around.