Skip to content

Instantly share code, notes, and snippets.

View ceiborg's full-sized avatar

ceiborg ceiborg

View GitHub Profile
@ceiborg
ceiborg / Inductivo + Parlante :: Arduino
Created October 15, 2019 16:14
Arduino Inductivo + Parlante
/*
#############%@
#### #########%
## #########&
#% ##########
### ############
################### ceiborg.com
################### tecnotextiles
##################
#################
/*
#############%@
#### #########%
## #########&
#% ##########
### ############
################### ceiborg.com
################### tecnotextiles
##################
#################
@ceiborg
ceiborg / LCD + Dht11 + sensor pulso cardiaco
Last active November 26, 2019 20:36
Display LCD + Modulo sensor de Temperatura y Humedad Dht11 + sensor pulso cardíaco
/*
#############%@
#### #########%
## #########&
#% ##########
### ############
################### ceiborg.com
################### tecnotextiles
##################
#################
@ceiborg
ceiborg / Neopixel + ultrasonic
Last active November 27, 2019 14:56
Neopixel + ultrasonic
/*
#############%@
#### #########%
## #########&
#% ##########
### ############
################### ceiborg.com
################### tecnotextiles
##################
#################
@ceiborg
ceiborg / hydra-midi.js
Created March 5, 2020 00:32
como recibir MIDI en Hydra
r = 0
g = 0.4
b = 0.3
solid(()=>r,()=>g,()=>b).out()
onmsg = (ev) => {
let note = ev.data[1]
@ceiborg
ceiborg / IIRfilter.ino
Created March 14, 2020 23:46
IIR Filter - Low f.
void setup() {
Serial.begin(9600);
}
int v = 0;
void loop() {
int c = analogRead (A0);
Serial.print(c);
@ceiborg
ceiborg / custom_capsense.ino
Created March 15, 2020 23:15
Custom Capsense with FastLed and Low Pass filters
#include "FastLED.h"
#define NUM_LEDS 9
CRGB leds[NUM_LEDS];
#define PIXELLED 6
float minHue = 1.0f;
float maxHue = 1.0f;
float hue =0.0f;
#define resolution 8
r = 0
navigator.requestMIDIAccess().then(midi => {
for (var input of midi.inputs.values())
input.onmidimessage = (e) => {r = e.data[2]}
})
osc(()=>r,0,0).out()
/*
#############%@
#### #########%
## #########&
#% ##########
### ############
################### ceiborg.com
################### tecnotextiles
##################
#################
#include "FastLED.h"
#define NUM_LEDS 7
CRGB leds[NUM_LEDS];
#define PIXELLED 6
float v=0;
float rate= 0.01f;
float c=0;
int button = 3;