Instantly share code, notes, and snippets.

View PixelOverlay-Countdown.pl
#!/usr/bin/perl
#############################################################################
# PixelOverlay-Countdown.pl - Scroll a Christmas Countdown across a matrix
#############################################################################
# Set our library path to find the FPP Perl modules
use lib "/opt/fpp/lib/perl/";
# Use the FPP Memory Map module to talk to the daemon
use FPP::MemoryMap;
View code.py
import time
import pulseio
import board
import adafruit_irremote
import digitalio
import neopixel
import busio
import adafruit_lis3dh
i2c = busio.I2C(board.ACCELEROMETER_SCL, board.ACCELEROMETER_SDA)
View stepper.js
var b = require('bonescript');
var step = (function() {
var M1 = 1;
var M2 = 4;
var state = 0;
var enabled = 0;
return function(direction) {
if(!enabled) {
View gist:e64c42fb24cfb2d0d27ecb0cbd0cdc99
/* Work in Progress */
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/am33xx.h>
#include <dt-bindings/board/am335x-bbw-bbb-base.h>
/dts-v1/;
/plugin/;
/ {
View Kconfig
config SND_PWMSP
tristate "PWM Speaker driver (PCM)"
depends on HIGH_RES_TIMERS
select SND_PCM
select PWM
help
View PocketBeagle-BaconBits-Dashboard-nodered.json
[{"id":"72060cb.70219f4","type":"inject","z":"d2b85346.b08ca","name":"","topic":"","payload":"","payloadType":"date","repeat":".1","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":260,"wires":[["feeb5c12.fd1d7"]]}]
View README.md

Qt Hello World example

sudo apt-get install -y qt5-default
qmake -project
echo "QT += widgets" >> qt_example.pro
qmake
make
View BlueDonkey_OpenMV_style_test.py
#!/usr/bin/env python3
# Color Line Following Example with PID Steering
import os, sys
if not os.geteuid() == 0:
sys.exit("\nPlease run as root.\n")
if sys.version_info < (3,0):
sys.exit("\nPlease run under python3.\n")
#