Delcom Products
Search the Delcom Website Search the Delcom Website Search the Delcom Website Search the Delcom Website
Home ->Products ->Product Details
 Products Details  
Item#: 890611    SKU# 1000791  
Name: Delcom Node js example
LeadTime: InStock

Click on Image for larger view

 Description:
Delcom Node JS - A simple NodeJS example using the node-hid package to read and write the Delcom USB Device. Works with all Delcom HID device (Generations 2,3+). Tested on Ubuntu and Raspberry Pi
Verion 1.0

Download Delcom.js

// Sample test code
delcom = require("./Delcom.js");
console.log("Starting.....");
delcom.GetInfo(1);
delcom.LedCtrl(delcom.GreenLED, delcom.ModeOff);
delcom.LedCtrl(delcom.RedLED, delcom.ModeOff);
delcom.LedCtrl(delcom.YellowLED, delcom.ModeOff);

delcom.LedCtrl(delcom.YellowLED, delcom.ModeFlash);

//delcom.WrPorts(0, 0);

var ports = delcom.RdPorts();
console.log("P0="+ports[0], " P1="+ports[1], " P2="+ports[2]);
console.log("All done.....");

Works with all G2 and newer products.

Note(3) This product has been discontinued and is no longer available.

 Links:
DATASHEET
USB HID G2 DatasheetUSB HID G2 Datasheet. Datasheet for all the Delcom USB HID products.
WEBPAGE
900000Delcom GEN2 USB HID Examples and Documentation

Delcom Products Inc. | Copyright 2002-2026 | All Rights Reserved. | Terms & Conditions
sales@delcomproducts.com +1 914.934.5170
45 Backus Ave, Danbury CT 06810 USA