This is a simple program that will allow you to control a string of ws2812 leds via serial / uart using an esp8266. This could be used to control RGB leds from a PC, or in my case, via the UART port ...
はじめまして。LEDとマイコンで「ちょっと楽しい」を作っています。 使っているのは ESP32やArduino、WS2812(いわゆるNeoPixel)など、 比較的手に入りやすく、個人でも扱える部品が中心です。 なぜ、このnoteを始めたのか 理由はとてもシンプルで、 **「作った ...
const uint8_t PixelPin = 3; // make sure to set this to the correct pin, ignored for Esp8266(set to 3 by default for DMA) ...
以前作った、弾丸型フルカラーLEDの「Horizontal Watch」を、 WS2812(NeoPixel)でリメイクしてみました。 表示方法や思想はそのままに、 LEDだけを「今の技術」に置き換えた形です。 ⸻ 表示ロジックは、あえて変えていません この時計の考え方は最初から一貫し ...