Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 551 Bytes

README.md

File metadata and controls

28 lines (14 loc) · 551 Bytes

ADC Transformer

A npm library to convert from ADC values to Kelvin / Celsius

Install

Just run npm install

Usage

1 - const converter = require('../converter.js') to require the library

2a - converter.toCelsius(ADC) to convert to Celsius

2b - converter.toKelvin(ADC) to convert to Kelvin

Tests

Just run npm run test

Credits

Based on this thread

Contributions

Pull requests are always welcome