Skip to content

Instantly share code, notes, and snippets.

@mikeobrien
Created August 16, 2023 22:09
Show Gist options
  • Save mikeobrien/2af634ddda4c1596c00c3d04eed5f27d to your computer and use it in GitHub Desktop.
Save mikeobrien/2af634ddda4c1596c00c3d04eed5f27d to your computer and use it in GitHub Desktop.
using System;
using System.Drawing;
using System.Threading;
using Iot.Device.Ws28xx.Esp32;
namespace AftOverhead
{
public class Program
{
public static void Main()
{
var neo = new Sk6812(48, 1);
var toggle = false;
while (true)
{
neo.Image.SetPixel(0, 0, toggle ? Color.Lime : Color.Black);
toggle = !toggle;
neo.Update();
Thread.Sleep(500);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment