Skip to content

Instantly share code, notes, and snippets.

@polluxlabs
polluxlabs / lcdHillRun.ino
Last active March 20, 2020 12:07
LCD Hill Run v2 - Arduino Jump'n'Run
/*
* Copyright (c) 2020 by Miles C.
*/
#include <LiquidCrystal.h>
#include "pitches.h"
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
const int JUMP_PIN = 2;
const int BUZZER_PIN = 5;
@polluxlabs
polluxlabs / arduinoThereminAMinor.ino
Last active April 17, 2020 15:29
An Arduino Theremin with A-Minor Pentatonic
/*
Arduino Theremin with A minor pentatonic scale
pollux labs, 2020
All rights reserved.
*/
const int trigger = 5;
const int echo = 4;
const int piezo = 10;
@polluxlabs
polluxlabs / GPSOnArduino.ino
Created February 29, 2020 20:41
GPS on Arduino
#include <SoftwareSerial.h>
#include <TinyGPS++.h>
TinyGPSPlus gps;
// Die serielle Verbindung zum GPS Modul
SoftwareSerial ss(4, 3);
void setup() {
Serial.begin(115200);
@polluxlabs
polluxlabs / esp8266WebServer.ino
Created February 22, 2020 14:26
ESP8266 Web Server
// Library für WiFi-Verbindung
#include <ESP8266WiFi.h>
// Daten des WiFi-Netzwerks
const char* ssid = "Dein Netzwerkname";
const char* password = "Dein Passwort";
// Port des Web Servers auf 80 setzen
WiFiServer server(80);