different patterns from 8x8 matrix using max7219

#include "LedControl.h" //  need the library
LedControl lc=LedControl(12,11,10,1); //
 
// pin 12 is connected to the MAX7219 pin 1
// pin 11 is connected to the CLK pin 13
// pin 10 is connected to LOAD pin 12
// 1 as we are only using 1 MAX7219
 
void setup()
{
  // the zero refers to the MAX7219 number, it is zero for 1 chip
  lc.shutdown(0,false);// turn off power saving, enables display
  lc.setIntensity(0,8);// sets brightness (0~15 possible values)
  lc.clearDisplay(0);// clear screen
}
void loop()
{
  for (int row=0; row<8; row++)
  {
    for (int col=0; col<8; col++)
    {
      lc.setLed(0,col,row,true); // turns on LED at col, row
      delay(25);
    }
  }
 
  for (int row=0; row<8; row++)
  {
    for (int col=0; col<8; col++)
    {
      lc.setLed(0,col,row,false); // turns off LED at col, row
      delay(25);
    }
  }
}

im trying to make my own patterns with this 8x8 matrix using max7219..is it possible with this code to make my own effects.
i tried to do a cross section but i get only one corner to the other corner but the other side doe not happen..the changes i made is below..Im trying to learn and understand the code..please help..

for (int row=0; row<8; row++)
{
for (int col=0; col<8; col++)
{
lc.setLed(0,row,row); // turns on LED at col, row
delay(25);
}
}

for (int row=0; row<8; row++)
  {
    for (int col=0; col<8; col++)
    {
      lc.setLed(0,row,row); // turns on LED at col, row
      delay(25);
    }
  }

You're not using col, so why bother slowing down your code?

for (int row=0; row<8; row++)
  {
      lc.setLed(0,row,row); 
      lc.setLed(0,7- row,7- row);
      delay(25);
    }
  }

get error while compiling..
no matching function for call to ledcontrol:setled(int,int&int&)

ledcontrol:setled

Maybe your shift key isn't working.

AWOL:

ledcontrol:setled

Maybe your shift key isn't working.

my shift key works fine but i do need your help if your trying to tell me sumthn..thanks..

Read all of reply #3 carefully, then look at your original code.

AWOL:
Read all of reply #3 carefully, then look at your original code.

well i cant seem to understand.i would appreciate if you could post the entire code with the changes as i am new to this..THANKS

i would appreciate if you could post the entire code with the changes as i am new to this

Yes, it does look there's a problem with your shift key (another hint), and no, I won't be posting any more code.
Let's play "spot-the-difference" instead

lc.setLed(0,row,row);
ledcontrol:setled

if your trying to tell me sumthn

I'm not trying to tell you anything; I'm trying to get you to see the problem.

There was a mistake in my earlier post - there's too much arithmetic, but you can figure that out when the code compiles.