Forum >16 x 16 led matrix
General

16 x 16 led matrix

userHead paul.hancock 2023-02-13 11:58:22 790 Views3 Replies

All,

Ive tried to follow the instructions to setup a 16 x 16 single wire LED matrix. Ive installed the ADAfruit library and ive copied the Arduino code . When I try to compile, it says there is an error on line 16;

Adafruit_NeoPixel strip = Adafruit_NeoPixel(256, PIN, NEO_GRB   NEO_KHZ800);


With error 'Compilation error: expected primary-expression before '(' token'   wont go past that unless I put // at the start. 

Then it gets to line 34 and gives the error 'Compilation error: 'strip' was not declared in this scope'

 

The only thing I can think of is that strip is within the avr/power.h library mentioned at the start but I cant find that library anywhere?

Any help would be appreciated.

 

Paul

2023-02-14 04:37:04

OK thanks. Found an article elsewhere that had the same program, however when I copied that version it complied and ran, dont know why but the version on here is corrupted in some way 

userHeadPic paul.hancock
2023-02-13 12:06:43

userHeadPic paul.hancock