Created
August 16, 2023 22:09
-
-
Save mikeobrien/2af634ddda4c1596c00c3d04eed5f27d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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