Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@HerrRiebmann
HerrRiebmann / LED_Glow_Clock.ino
Last active April 30, 2022 17:01
UV-LED Glow Clock
//#define CALIBRATE
//#define GRID // After Calibration this mode should plot a pretty good dot grid on the screen
// Adjust these values for servo arms in position for state 1 _|
const double SERVO_LEFT_ZERO = 1600;
const double SERVO_RIGHT_SCALE = 690;// + makes rotate further left
// Adjust these values for servo arms in position for state 2 |_
const double SERVO_RIGHT_ZERO = 650;
const double SERVO_LEFT_SCALE = 650;
@HerrRiebmann
HerrRiebmann / Soundmaschine.ino
Created February 14, 2020 16:30
Arduino Soundmaschine - 4x4 Keypad
#include <Keypad.h>
#include <EEPROM.h>
#include "Arduino.h"
#include "SoftwareSerial.h"
#include "DFRobotDFPlayerMini.h"
const byte COLS = 4; //4 Columns
const byte ROWS = 4; //4 Rows
char hexaKeys[ROWS][COLS] = {
{4,3,2,1},
@HerrRiebmann
HerrRiebmann / BluetoothBaude.ino
Last active April 15, 2023 19:38
Get and change HC-0X bluetooth module baudrate
#include <SoftwareSerial.h>
#define BT_Baud 57600
#define BT_BaudFallback 9600
#define BT_Cmd_Delay 2000 //1000 is okay, until HC-06-20190901
SoftwareSerial BT(8, 7);
long baud = 0;
uint8_t btVersion = 0xFF;