Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| import enum | |
| import struct | |
| import typing as T | |
| from dataclasses import dataclass, field | |
| from collections import defaultdict | |
| import csv | |
| import sys | |
| import argparse | |
| import os |
| /* Pixel wave | |
| * Copyright 2016 Julien Vanier, MIT license | |
| * | |
| * Connect 3 photoresistors to analog inputs and drive a Dotstar/Neopixel strip from the 3 analog signals! | |
| */ | |
| #include "application.h" | |
| #include "dotstar/dotstar.h" | |
| SYSTEM_THREAD(ENABLED); |
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)