Skip to content

Instantly share code, notes, and snippets.

@beardypig
beardypig / sb1_uart.h
Created February 15, 2020 17:05
sb1_uart.h modified for LSC sensor
#ifndef SB1_UART_H_
#define SB1_UART_H_
#include "esphome.h"
using namespace esphome;
#define SB1_MAX_LEN 256 // Max length of message value
#define SB1_BUFFER_LEN 6 // Length of serial buffer for header + type + length
#define SB1_HEADER_LEN 2 // Length of fixed header
#define HOOK_STALL_TIME 50 // Time to delay in shutdown hook before actually sleeping
// ==UserScript==
// @name EmuParadise Downloader - 1.2.0
// @version 1.2.0
// @description Replaces the download button link with a working one
// @author beardypig (based on emuparadise.eptun.user.js)
// @match https://www.emuparadise.me/*/*/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @grant none
// ==/UserScript==
/*
* Acropolis Copyright (C) 2018 Team Acropolis
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
### Keybase proof
I hereby claim:
* I am beardypig on github.
* I am beardypig (https://keybase.io/beardypig) on keybase.
* I have a public key ASD7dABhdXMnfFy4KhuyDEkMlsWt_GRY5CeJwBTh1Hg3hwo
To claim this, I am signing this object: