Skip to content

Instantly share code, notes, and snippets.

View bbharris's full-sized avatar

Brandon Harris bbharris

View GitHub Profile
@bbharris
bbharris / load_cell.agent.nut
Last active November 15, 2020 18:28
Load Cell Example Code
// Copyright (c) 2014 Electric Imp
// This file is licensed under the MIT License
// http://opensource.org/licenses/MIT
const PLOTLY_USER = "XXXXX";
const PLOTLY_KEY = "XXXXX";
// Name your plot
const PLOTLY_FILENAME = "Compensated Weight vs Temp Graph 3kg";
// How much historical data to show in hours (autorange must be disabled)
const GRAPH_WINDOW = 24;