UNPKG

node-anemometer

Version:

Measuring the wind speed with an anemometer

17 lines (16 loc) 601 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PCF8583Mode = exports.LOCATION_COUNTER = exports.LOCATION_CONTROL = exports.I2CADDR_SECOND = exports.I2CADDR = void 0; exports.I2CADDR = 0x50; exports.I2CADDR_SECOND = 0x51; // Register offsets exports.LOCATION_CONTROL = 0x00; exports.LOCATION_COUNTER = 0x01; // Function modes var PCF8583Mode; (function (PCF8583Mode) { // CLOCK = 0x00 << 4, // ALARM = 0x01 << 4, PCF8583Mode[PCF8583Mode["COUNTER"] = 32] = "COUNTER"; // TEST = 0x03 << 4 })(PCF8583Mode || (exports.PCF8583Mode = PCF8583Mode = {}));