Hello so I used the code bellow on 3 Arduinos (2 nanos, 1 R3 uno) and now all of them are not working. They are not showing up as a COM port in the IDE and if I look at the Device Manager it does not show up there. I am using SEZO LED Matrix WS2812B Panel RGB 5050SMD 16x16 256 Pixels.`
#include "FastLED.h"
#define num_rows 16
#define num_cols 16
#define bright 255
#define data_pin 3
#define num_led num_rows * num_cols
CRGB leds[num_led];
void setup() {
FastLED.addLeds<WS2812B, data_pin>(leds, num_led);
FastLED.setBrightness(bright);
}
int counter =0;
void loop() {
// put your main code here, to run repeatedly:
for (byte row = 0; row < num_rows; row++ ){
for (byte col = 0; col < num_cols; col++ ){
int delta = abs(num_rows - row*2)+abs(num_cols - col*2);
leds[row * num_cols + col]=CHSV(delta * 4 + counter, 255, 255);
}
}
FastLED.show();
delay(5);
counter++;
}
256 pixel LEDs draw way more current than an Arduino can provide - do you have an external 5V supply feeding the pixels, with only it's GND connected to the Arduino GND? It's necessary.
Sorry if this is a stupid question but i am more mechanical than electrical. So if i find an external power supply for 5V then is the 15A is the lowest i can go correct?