Skip to content

Instantly share code, notes, and snippets.

#include <Servo.h>
Servo myservo;
const int servoPin = 9;
const int buttonPin = 12;
const int ledPin = 13;
void setup() {
myservo.attach(servoPin);
@renatoargh
renatoargh / stepper-motor-with-joystick.ino
Last active May 11, 2017 16:53
Controlling stepper motor w/ arduino and joystick https://www.youtube.com/watch?v=locew337i4M
// Subscribe to Renatuino Pi channel on YouTube!
// See it here; https://www.youtube.com/watch?v=locew337i4M
int DIRECTION_X = A0;
int COIL1_A = 4;
int COIL1_B = 5;
int COIL2_A = 6;
int COIL2_B = 7;
int DELAY = 2;
// ==UserScript==
// @name watchcartoononline
// @description Description
// @author Chris H (Zren / Shade)
// @icon http://xshade.ca/favicon.ico
// @namespace http://xshade.ca
// @version 1
// @include http://www.watchcartoononline.com/*
// @include http://www.animeuploads.com/embed.php*
// ==/UserScript==
@eznj
eznj / star_wars.ino
Last active September 26, 2023 18:24
Arduino Star Wars Song
const int c = 261;
const int d = 294;
const int e = 329;
const int f = 349;
const int g = 391;
const int gS = 415;
const int a = 440;
const int aS = 455;
const int b = 466;
const int cH = 523;