Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Linq;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Attributes;
namespace StringPos
{
class Program
{
static void Main(string[] args)
@JC-85
JC-85 / ledtower.py
Last active October 14, 2025 20:01
Adafruit LED signal tower
import threading
import logging
from typing import Optional
try:
import serial
from serial import SerialException
except Exception:
serial = None # serial may be unavailable in test environments
SerialException = Exception