Skip to content

Instantly share code, notes, and snippets.

View jlamch's full-sized avatar

Joanna Lamch jlamch

View GitHub Profile
[
{
"name": "Quefrency Matrix Mapping"
},
[
"Enc 1\n\n\n\n\n\n\n\n\nA9",
"rotary\n\n\n\n\n\n\n\n\nA2",
{
"x": 1.5
},
@jlamch
jlamch / Adelheid.kbd.json
Last active September 15, 2021 18:32 — forked from floookay/Adelheid.kbd.json
Adelheid
[
{
"backcolor": "#141414",
"name": "Adelheid",
"author": "floookay",
"switchMount": "cherry",
"switchBrand": "gateron",
"pcb": true
},
[
#include "Arduino.h"
#include "OledDisplay.h"
#include "RingBuffer.h"
#include "AudioClassV2.h"
#include "config.h"
#include "utility.h"
static AudioClass &Audio = AudioClass::getInstance();
static int AUDIO_SIZE = 32000 * 3 + 45;
@jlamch
jlamch / WavAudio.ino
Created February 9, 2020 22:06
wav format audio example (from documentation)
#include "Arduino.h"
#include "OledDisplay.h"
#include "AudioClassV2.h"
AudioClass& Audio = AudioClass::getInstance();
const int AUDIO_SIZE = 32000 * 3 + 45;
int lastButtonAState;
int buttonAState;
int lastButtonBState;
#include "Arduino.h"
#include "HTS221Sensor.h"
#include "OledDisplay.h"
// humidity related
bool runHum = true;
DevI2C *i2c;
HTS221Sensor *sensorHnT;
float humidity = 0;
float temperature = 0;
#include "OledDisplay.h"
void setup() {
  //screen
  Screen.init();
}
void loop() {
   oledPlay();
}
void oledPlay()
{
#include "OledDisplay.h"
void setup() {
  //screen
  Screen.init();
}
void loop() {
  oledPlay();
}
void oledPlay()
#include "RGB_LED.h"
#include "Arduino.h"
RGB_LED rgbLed;
unsigned int rgbColour[3];
bool runLed = true;
void setup() {
  rgbLed.setColor(0, 0, 255);  
  attachInterrupt(USER_BUTTON_A, startLedFunc, CHANGE);
  attachInterrupt(USER_BUTTON_B, startLedFunc, FALLING);
#include "RGB_LED.h"
RGB_LED rgbLed;
unsigned int rgbColour[3];
void setup() {
rgbLed.setColor(0, 0, 255);
}
void loop() {
delay(1000);
rgbLed.turnOff();
delay(2000);
#include "Arduino.h"
#include "GFXDisplay.h"
#include "SystemVersion.h"
#include "Sensor.h"
const int rowCount = 25;
static char scrolltext[rowCount][17] ={
{ " "},
{ " -------------- "},
{ " Joanna Lamch "},