Skip to content

Instantly share code, notes, and snippets.

#include "FastLED.h"
#define LEDPIN A5
#define LED_TYPE NEOPIXEL
#define NUM_LEDS 100
#define BRIGHTNESS 100
CRGB leds[NUM_LEDS];
void setup() {
delay(3000);
# If you have error "YumRepo Error: All mirror URLs are not using ftp, http[s] or file."
# And for anyone looking for CentOS 6 base repository
# Since jerks at http://mirror.centos.org/centos/6/ decided to remove all files (what else do you call people who force their vision through blocking, removing and censoring things?)
# You can use my server: http://centos.svimik.com/6/
# wget http://centos.svimik.com/CentOS-Base.repo -O /etc/yum.repos.d/CentOS-Base.repo && yum clean all
# or go to /etc/yum.repos.d and paste the following content to CentOS-Base.repo
[base]
name=CentOS-$releasever - Base
baseurl=http://centos.svimik.com/$releasever/os/$basearch/