Skip to content

Instantly share code, notes, and snippets.

View bhollis's full-sized avatar

Ben Hollis bhollis

View GitHub Profile
@bhollis
bhollis / upgrade-v4.diff
Created December 29, 2015 01:52
Upgrade to Middleman v4
commit d6b0db2c98cfbee1b3738fa042c89cb0b81fb661
Author: Ben Hollis <ben@benhollis.net>
Date: Mon Dec 28 17:50:43 2015 -0800
Upgrade to Middleman v4
diff --git a/Gemfile b/Gemfile
index 88f7592..990881c 100644
--- a/Gemfile
+++ b/Gemfile
title: Test Wishlist
dimwishlist:item=3335343363
@bhollis
bhollis / GlowBeast.pde
Created February 15, 2023 02:52
GlowBeast arduino code - breathing glow effect
// Just for reference
//int static_pin = 11;
//int dynamic_pins[] = {3, 5, 6, 9, 10};
// I'm using parallel arrays to hold my object info here - each column is
// an LED.
// CONSTANTS
int pwm_pins[] = { 3, 5, 6, 9, 10, 11 };
float base_speeds[] = { 1, 1, 1, 1, 1, .5 }; // in deg/cycle