// Testing the Raspberry Pi Pico with a Neopixel with Arduino code.
//
// Test1 Adafruit library: https://wokwi.com/projects/475529538465898497 (this one)
// Test2 FastLED library : https://wokwi.com/projects/475529547499382785
#include <Adafruit_NeoPixel.h>
#define LED_PIN 27
Adafruit_NeoPixel pixel(1, LED_PIN, NEO_GRB + NEO_KHZ800);
void setup()
{
Serial1.begin(115200);
Serial1.println("Testing Neopixel");
pixel.begin();
pixel.setPixelColor(0, pixel.Color(150, 0, 0));
pixel.show();
}
void loop()
{
delay(10);
}