My personal cheatsheet for using the Linux command line.
Linux Subsystem
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Apr 29 12:09:09 2019 | |
@author: simon | |
""" | |
from tkinter import * | |
from tkinter.colorchooser import askcolor | |
from pysvg import * |
#include <Adafruit_NeoPixel.h> | |
#define PIN 6 | |
#define NUM_LEDS 8 | |
#define COLOR_PRESET 0x00F02000 // orange | |
// Parameter 1 = number of Pixels in strip | |
// Parameter 2 = Arduino pin number (most are valid) | |
// Parameter 3 = pixel type flags, add together as needed: | |
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) |