A Dashing widget to show Slack user presence on a dashboard.
Add the following to your dashing Gemfile
gem 'slack-api'
const ethers = require('ethers'); | |
const LitSDK = require('lit-js-sdk/build/index.node.js'); | |
const lit = new LitSDK.LitNodeClient(); | |
await lit.connect(); | |
const chain = 'mumbai'; | |
const saveAuthSig = { | |
sig: "0x<signature1>", |
$0=10 (step pulse, usec) | |
$1=255 (step idle delay, msec) | |
$2=0 (step port invert mask:00000000) | |
$3=3 (dir port invert mask:00000011) | |
$4=0 (step enable invert, bool) | |
$5=1 (limit pins invert, bool) | |
$6=0 (probe pin invert, bool) | |
$10=3 (status report mask:00000011) | |
$11=0.020 (junction deviation, mm) |
#include <Arduino.h> | |
#include <Adafruit_NeoMatrix.h> | |
#define BOARD_WIDTH 10 | |
#define BOARD_HEIGHT 20 | |
#define ROWS_PER_GROUP 4 | |
#define NEO_PIN 7 |
// This #include statement was automatically added by the Particle IDE. | |
#include "AccelStepperSpark/AccelStepperSpark.h" | |
#define STEP_FACTOR 8 | |
bool forward = true; | |
// Define a stepper and the pins it will use | |
AccelStepper stepper(AccelStepper::DRIVER, A1, A2); |
// This example uses an Arduino/Genuino Zero together with | |
// a WiFi101 Shield or a MKR1000 to connect to shiftr.io. | |
// | |
// IMPORTANT: This example uses the new WiFi101 library. | |
// | |
// You can check on your device after a successful | |
// connection here: https://shiftr.io/try. | |
// | |
// by Gilberto Conti | |
// https://github.com/256dpi/arduino-mqtt |
require 'aws-sdk' | |
CONFIG = { | |
# nil to load from env | |
:aws_access_key => nil, | |
:aws_secret_access_key => nil, | |
:aws_region => nil, | |
# in seconds |
A Dashing widget to show a Google Visualizations Pie Chart on a dashboard.
Copy the google_pie.coffee
, google_pie.html
and google_pie.scss
file to into /widgets/google_pie
directory.
Add the following to the dashboard layout file:
A Dashing widget to show a Google Visualizations Gauge on a dashboard.
Copy the google_gauge.coffee
, google_gauge.html
and google_gauge.scss
file to into /widgets/google_gauge
directory.
Add the following to the dashboard layout file: