Skip to content

Instantly share code, notes, and snippets.

@arduinoboard
arduinoboard / Blink.ino
Last active October 19, 2017 20:41
The file that is currently on an Arduino/Genuino Mega or Mega 2560 with a serial number of 74132343530351712001
@arduinoboard
arduinoboard / sketch_oct24a.ino
Last active October 24, 2017 21:31
The file that is currently on an Arduino/Genuino Mega or Mega 2560 with a serial number of A400142K
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
@arduinoboard
arduinoboard / sketch_feb23a.ino
Last active February 23, 2016 22:43
The file that is currently on an Arduino/Genuino Mega or Mega 2560 with a serial number of 5543830353935181B190
void setup() {
// put your setup code here, to run once:
}
void loop() {doo
// put your main code here, to run repeatedly:
}
@arduinoboard
arduinoboard / sketch_feb23d.ino
Last active February 23, 2016 07:37
The file that is currently on an Arduino/Genuino Uno with a serial number of 75237333536351605190
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
@arduinoboard
arduinoboard / _2015_03_SerialVM2_IDE001.ino
Last active August 29, 2015 14:16
The file that is currently on an Arduino Duemilanove w/ ATmega328 with a serial number of A900acu7
/* code is based on info here:
* http://arduino.cc/en/Reference/softwareSerial
*
* Serial VM2 to IDE sketch
* Arduino just sits in the middle & relays serial
* data to and fro from the VMUSIC2
*/
/*
* 2015.03.14
@arduinoboard
arduinoboard / underbedLED.ino
Created March 1, 2015 19:52
The file that is currently on an Arduino Uno with a serial number of 002608BFCFF4
#define motionSensor 2//Use pin 2 to receive the signal from the motion
#define lightSensor A0// Use analog pin 0 to recive signal from light sensor
#define LED 13// LED light output
void setup()
{
pinsInit();
}
void loop()
@arduinoboard
arduinoboard / sketch_feb22a.ino
Last active August 29, 2015 14:15
The file that is currently on an Arduino Ethernet with a serial number of A603HWPV
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
@arduinoboard
arduinoboard / gist:80bddfa984f1b77139a0
Last active August 29, 2015 14:14
The file that is currently on an Adafruit Flora with a serial number of 0000:00:14.0
We couldn’t find that file to show.
@arduinoboard
arduinoboard / LinearandServoProject3.ino
Created September 16, 2014 02:27
The file that is currently on an ArbotiX with a serial number of AH01DRQ6
#include <ax12.h>
#include <BioloidController.h>
int linearPin = 16; // the pin number of the actuator.
int servoPin = 1; // the pin number of the servo.
long delayTime = 1; // servo movement delay time in millis.
int extend=1950;
int retract=1050;
@arduinoboard
arduinoboard / sketch_squeeze_keyboard.ino
Created August 24, 2014 06:04
The file that is currently on an Arduino Uno with a serial number of 753313131333511101D0
#include <Stepper.h>
#include <SoftwareSerial.h>
#include <avr/pgmspace.h>
#define DIGITAL_SENSOR_THRESHOLD 15
#define DIGITAL_SENSOR_MAXIMUM 500
#define ANALOG_SENSOR_THRESHOLD 90
#define ANALOG_HARD_PRESS_THRESHOLD 550