From 5e117c162cb001a9cc14dedd0e8f457ea7532972 Mon Sep 17 00:00:00 2001 From: sago35 Date: Tue, 8 Jun 2021 08:45:44 +0900 Subject: [PATCH] ws2812: rename the pin to ws2812 --- examples/ws2812/others.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ws2812/others.go b/examples/ws2812/others.go index d26c1d6..24ff9bc 100644 --- a/examples/ws2812/others.go +++ b/examples/ws2812/others.go @@ -6,5 +6,5 @@ import "machine" // Replace neo and led in the code below to match the pin // that you are using if different. -var neo machine.Pin = machine.NEOPIXELS +var neo machine.Pin = machine.WS2812 var led = machine.LED