Skip to content

Instantly share code, notes, and snippets.

View pless84's full-sized avatar

Jakob Pless pless84

View GitHub Profile
@pless84
pless84 / gist:b3549cde19319e9c642e30fcbf16dc27
Created December 17, 2021 10:34
LED Strip alle til hvid
#include <Adafruit_NeoPixel.h>
// Indlæs biblioteket
#include <Adafruit_NeoPixel.h>
// Angiv hvor data ledning er sat til på boardet
#define LED_PIN 13
// Angiv antal LED'er
#define NUM_LEDS 7
// Initialiser
@pless84
pless84 / LED Strip Fadein Blue.txt
Last active December 17, 2021 12:08
LED Strip Fade In Out
// Indlæs biblioteket
#include <Adafruit_NeoPixel.h>
// Angiv hvor data ledning er sat til på boardet
#define LED_PIN 13
// Angiv antal LED'er
#define NUM_LEDS 7
// Initialiser
Adafruit_NeoPixel strip(NUM_LEDS, LED_PIN, NEO_GRB + NEO_KHZ800);
<?php
/**
* Class Name: your_themename_top_menu
* Description: A custom WordPress nav walker class to implement UIkit menu markup
*/
class your_themename_top_menu extends Walker_Nav_Menu {
/**
* @see Walker::start_lvl()
* @since 3.0.0
@pless84
pless84 / dabblet.css
Created July 28, 2013 18:32
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@pless84
pless84 / dabblet.css
Created July 28, 2013 18:00
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;