wayoda / LedControl

An Arduino library for MAX7219 and MAX7221 Led display drivers
Other
464 stars 243 forks source link

Documentation error "Control the column of a matrix" #21

Open reneverschoor opened 7 years ago

reneverschoor commented 7 years ago

The "Control the column of a matrix" section seems incorrect to me. Looks like part of the "Control the row of a matrix" section was copied.

Current:

//Setting the leds from the third row (index=2) of the first device 
lc.setRow(0,2,B00001111); 

Should be:

//Setting the leds from the sixth column (index=5) of the first device 
lc.setColumn(0,5,B00001111); 

The table now says:

Led On  Yes No  Yes Yes No  No  No  No

but should be:

Led On  No  No  No  No  Yes Yes Yes Yes