Skip to content

Instantly share code, notes, and snippets.

@arduinoboard
arduinoboard / AccelStepper.cpp
Last active July 29, 2018 15:18
The file that is currently on an Arduino/Genuino Uno with a serial number of A5002rKR
// AccelStepper.cpp
//
// Copyright (C) 2009-2013 Mike McCauley
// $Id: AccelStepper.cpp,v 1.23 2016/08/09 00:39:10 mikem Exp $
#include "AccelStepper.h"
#if 0
// Some debugging assistance
void dump(uint8_t* p, int l)
@arduinoboard
arduinoboard / BeagleWaldo.ino
Last active June 26, 2018 19:37
The file that is currently on an Arduino/Genuino Uno with a serial number of 55736303831351F022A0
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_LSM9DS0.h>
#include <Adafruit_Simple_AHRS.h>
#include <SoftwareSerial.h>
#define PAUSEBTN 5
#define CALIBRATEBTN 6
#define PLAYBTN 7
@arduinoboard
arduinoboard / steering_LED_Touch.ino
Created May 31, 2018 00:19
The file that is currently on an Pro Trinket 5V/16MHz (FTDI) with a serial number of A603H96Q
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
#define LEDSTRIP 6
#define NUMPIXELS 48
#define BRIGHTNESS 255
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, LEDSTRIP, NEO_GRBW + NEO_KHZ800);
@arduinoboard
arduinoboard / Commands.ino
Created May 20, 2018 16:17
The file that is currently on an Arduino/Genuino Mega or Mega 2560 with a serial number of 55731323136351C08001
void gReset() {
Serial1.write(0x18);
delay(250);
clearPrintTitle();
displayMenu(currentMenuItem);
}
void gZero() {
Serial1.println("G0 X0.00 Y0.00 Z0.00 F20\n");
delay(250);
@arduinoboard
arduinoboard / sabertooth_USB_Serial.ino
Last active March 28, 2018 20:52
The file that is currently on an Arduino/Genuino Mega or Mega 2560 with a serial number of 95336333635351516191
/*----------------------------------
PROGENITOR Sabertooth Steering Wheel
------------------------------------*/
// INCLUSIONS
//-------------------------------------------
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
@arduinoboard
arduinoboard / SeatControlPWM.ino
Last active April 19, 2018 20:59
The file that is currently on an Arduino/Genuino Mega or Mega 2560 with a serial number of 75438313533351010192
#define MOVETIME 1000
#define FA 10
#define BA 11
#define enFA 2
#define enBA 3
#define FB 5
#define BB 6
@arduinoboard
arduinoboard / steeringWheelKnobsWindshield2.ino
Last active March 23, 2018 01:43
The file that is currently on an Arduino/Genuino Uno with a serial number of A4131363139351218160
#include <Adafruit_NeoPixel.h>
#define CENTER 130
#define STEER_RANGE 60
#define LEFT_BOUND (CENTER - STEER_RANGE)
#define RIGHT_BOUND (CENTER + STEER_RANGE)
#define IDLE_RANGE 5
#define PIN 8
@arduinoboard
arduinoboard / BlinkGistTest.h
Last active October 26, 2017 17:57
The file that is currently on an Arduino/Genuino Uno with a serial number of 95530343235351514141
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put youdgbegegengegnde here, to run repeatedly:
}
@arduinoboard
arduinoboard / Blink.ino
Created October 19, 2017 20:45
The file that is currently on an Arduino/Genuino Uno with a serial number of HIDPC
@arduinoboard
arduinoboard / Blink.ino
Created October 19, 2017 20:43
The file that is currently on an Arduino Leonardo with a serial number of DLC715300VEG2KQAM