Skip to content

Instantly share code, notes, and snippets.

Colten Jackson jazzyjackson

Block or report user

Report or block jazzyjackson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View chess dropdown plain html
<style>
chess {
background: black;
display: block;
width: 75px;
height: 75px;
display: flex;
justify-content: center;
}
option {
View badservo.ino
#include "motors.h"
#include <Adafruit_TiCoServo.h>
MotorState motorState(9, 10);
void setup() {
}
void loop() {
View Workingclass.ino
#include "motors.h"
#include <Adafruit_TiCoServo.h>
Adafruit_TiCoServo servo_backdrop;
Adafruit_TiCoServo servo_stage;
MotorState motorState;
void setup() {
// put your setup code here, to run once:
View DutyCycle.h
typedef struct{
byte pin;
volatile short timeHigh;
volatile short timeLow;
volatile long lastFalling;
volatile long lastRising;
void dutyCycleUpdate(){
switch(digitalRead(this->pin)){
case HIGH:
View keybase.md

Keybase proof

I hereby claim:

  • I am jazzyjackson on github.
  • I am jazzyjackson (https://keybase.io/jazzyjackson) on keybase.
  • I have a public key ASDUotL3QS7_08wVTDlVR10C4T2nHcnNvtPYOZwNQYsaTQo

To claim this, I am signing this object:

View simulinterrupt.ino
#define XPIN 2
#define YPIN 3
#define X 0
#define Y 1
volatile short timeHigh[2] = {0, 0};
volatile short timeLow[2] = {0, 0};
volatile long lastFalling[2] = {0, 0};
volatile long lastRising[2] = {0, 0};
View rollingaverage.ino
#include <CapacitiveSensor.h>
CapacitiveSensor cs_4_2 = CapacitiveSensor(4,2); // 10M resistor between pins 4 & 2, pin 2 is sensor pin, add a wire and or foil if desired
const int n = 20;
const int timeBetweenSamples = 1;
int readIndex = 0;
int runningPresent[n];
View captouch.ino
#include <CapacitiveSensor.h>
/*
* CapitiveSense Library Demo Sketch
* Paul Badger 2008
* Uses a high value resistor e.g. 10M between send pin and receive pin
* Resistor effects sensitivity, experiment with values, 50K - 50M. Larger resistor values yield larger sensor values.
* Receive pin is the sensor pin - try different amounts of foil/metal on this pin
*/
View avgcap.ino
#include "Volume3.h"
#define speakerPin 9
#include <CapacitiveSensor.h>
CapacitiveSensor cs_4_2 = CapacitiveSensor(4,2); // 10M resistor between pins 4 & 2, pin 2 is sensor pin, add a wire and or foil if desired
const int n = 20;
const int timeBetweenSamples = 1;
You can’t perform that action at this time.