Skip to content

Instantly share code, notes, and snippets.

@flazer
flazer / dataflow-fake.ino
Created March 25, 2018 16:32
Arduino WS2812b dataflow fake animation
/*
* Dataflow - Fake
*
* 2017 - Chris Figge <info@flazer.net>
*
* Schnell mal runtergeschrieben, weil Bock.
*/
#include <Adafruit_NeoPixel.h>
@flazer
flazer / bullshit-servo.c
Created November 18, 2013 09:09
Script to handle a servo via button-press on arduino-controllers: usage-example: youtube.com/watch?v=ghyxaQc5-Xg
#include <Servo.h>
Servo myservo;
int pos = 0;
int btn = 13;
int maxAngle = 180;
int minAngle = 40;
int speed = 5;
void setup()
@flazer
flazer / gpstimesync.py
Created November 18, 2013 09:01
Connects to your GPS-Dongle and synchronize systemtime with GPS-UTC-time. Handles local-timezones Needs PYTZ-Library: http://pytz.sourceforge.net/#installation
#! /usr/bin/python
#####################
# GPS-TIME-SYNC #
# 2013 flazer #
# info@flazer.net #
#####################
# Connects to your GPS-Dongle and synchronize systemtime with GPS-UTC-time.
# Handles local-timezones