Compilation error: expected primary-expression before '.' token

I'm having multiple errors and I don't know how to fix them, I would appreciate the help. This isn't my code it was made by M16 and the Russian words are just some descriptions

`#include <Adafruit_GFX.h>
#include <Adafruit_GrayOLED.h>
#include <Adafruit_SPITFT.h>
#include <Adafruit_SPITFT_Macros.h>
#include <gfxfont.h>

// MK2_instruction_1.1.0 by
//...............................................................................-*-..............................................................................
//.........................................................................-*+=====-..............................................................................
//.............................................................:*++......:=========....+======+..:=================+..............................................
//........................................................:=======+.....:=========+...-=======:.:=======+::----:*==*..............................................
//.......................................................*========*....*==========*...*======+..+======-..........................................................
//......................................................+=========*...+===++======:..-=======:.-==================:...............................................
//....................................................-===++======:..+===::=======-..*=======..*==================:...............................................
//...................................................:===:.=======:-===+..+=======...=======*.-=======......======................................................
//..................................................*===-.-=======*===*..:=======+..:=======-.*======+....-+=====*................................................
//.................................................+==*...:==========-...+=======*..+======+..*=================+.................................................
//...............................................-===:....:********:....:*********----------....---------------...................................................
//..............................................:==+..............................................................................................................
//............................................-+==+...............................................................................................................

// VK: https://vk.com/m16ind
// Twitter: https://twitter.com/M16Studios
// Thingiverse: https://www.thingiverse.com/flortheproto/designs

// Π£Π΄ΠΈΠ²Π»Π΅Π½ΠΈΠ΅ - сСмисСкундный эффСкт ΠΏΡ€ΠΈ сигналС с сСнсорной ΠΊΠ½ΠΎΠΏΠΊΠΈ, Ρ‚ΠΎ биш касании носа.
// Π—Π»ΠΎΡΡ‚ΡŒ - Π΄ΠΎΠ»Π³ΠΈΠΉ эффСкт ΠΏΡ€ΠΈ Ρ‡Π΅Ρ‚Ρ‹Ρ€Ρ‘Ρ… (ΠΌΠΎΠΆΠ½ΠΎ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡ‚ΡŒ) Π±ΡƒΠΏΠ°Ρ… с ΠΏΠ°ΡƒΠ·Π°ΠΌΠΈ ΠΌΠ΅ΠΆΠ΄Ρƒ Π½ΠΈΠΌΠΈ ΠΌΠ΅Π½Π΅Π΅ Π΄Π²ΡƒΡ… сСкунд.
// Π—Π»ΠΎΡΡ‚ΡŒ - Π΄ΠΎΠ»Π³ΠΈΠΉ эффСкт ΠΏΡ€ΠΈ сСми (ΠΌΠΎΠΆΠ½ΠΎ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡ‚ΡŒ) Π±ΡƒΠΏΠ°Ρ… с ΠΏΠ°ΡƒΠ·Π°ΠΌΠΈ ΠΌΠ΅ΠΆΠ΄Ρƒ Π½ΠΈΠΌΠΈ ΠΌΠ΅Π½Π΅Π΅ Π΄Π²ΡƒΡ… сСкунд.
// ΠœΠΎΡ€Π³Π°Π½ΠΈΠ΅ - ΠΊΠΎΡ€ΠΎΡ‚ΠΊΠΈΠΉ эффСкт Ρ€Π°Π· Π² нСсколько сСкунд.
// ΠžΡ‚ΠΊΡ€Ρ‹Ρ‚ΠΈΠ΅ Ρ€Ρ‚Π° зависит ΠΎΡ‚ сигнала с ΠΌΠΈΠΊΡ€ΠΎΡ„ΠΎΠ½Π°.

#include <Adafruit_GFX.h> //Π½Π΅ΠΎΠ±Ρ…ΠΎΠ΄ΠΈΠΌΠΎ ΡƒΡΡ‚Π°Π½ΠΎΠ²ΠΈΡ‚ΡŒ
#include <Max72xxPanel.h>
#define matrix

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ΠΠΠ‘Π’Π ΠžΠ™ΠšΠ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//                                                                                                                        β•‘
int mod_eye = 1;   // Π“Π»Π°Π·Π°: 3-ΠΏΠΎΠ»ΡƒΠΊΡ€ΡƒΠ³Π»Ρ‹Π΅; 2-Ρ‚Ρ€Π΅ΡƒΠ³ΠΎΠ»ΡŒΠ½Ρ‹Π΅; 1-срСднСС ΠΌΠ΅ΠΆΠ΄Ρƒ 3 ΠΈ 2; 0-ΠΏΡ€ΠΈΡ‰ΡƒΡ€Π΅Π½Π½Ρ‹Π΅                           β•‘
int mod_nose = 0;  // Нос: 1-носяра; 0-Π½ΠΎΠ·Π΄Ρ€ΠΈ                                                                             β•‘
int owo_tm = 8000; // Π”Π»ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎΡΡ‚ΡŒ удивлСния Π² миллисСкундах                                                              β•‘  
int tm_dt = 12000; // Π”Π»ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎΡΡ‚ΡŒ смСрти Π² миллисСкундах                                                              β•‘      
int mod_owo = 2;   // Π£Π΄ΠΈΠ²Π»Π΅Π½ΠΈΠ΅: 2-сСрдСчко; 1-OwO; 0-OwwO                                                                β•‘
int hrt_spd = 600; // Π‘ΠΊΠΎΡ€ΠΎΡΡ‚ΡŒ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ сСрдСчка, Ρ‡Π΅ΠΌ мСньшС число, Ρ‚Π΅ΠΌ быстрСС анимация.                                 β•‘
int mod_zloy = 1;  // Π—Π»ΠΎΡΡ‚ΡŒ: 1-Π·Π»ΠΎΠΉ; 0-агрСссивный                                                                       β•‘
int cnt_kl = 7;    // Число касаний Π΄Π°Ρ‚Ρ‡ΠΈΠΊΠ° для Ρ€Π΅ΠΆΠΈΠΌΠ° смСрти                                                             β•‘
int cnt_z = 4;     // Число касаний Π΄Π°Ρ‚Ρ‡ΠΈΠΊΠ° для Ρ€Π΅ΠΆΠΈΠΌΠ° злости                                                             β•‘
int t = 4;         // Π‘ΠΊΠΎΡ€ΠΎΡΡ‚ΡŒ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ моргания, Ρ‡Π΅ΠΌ мСньшС число, Ρ‚Π΅ΠΌ быстрСС анимация.                                 β•‘
int boop = 2;      // Π¦ΠΈΡ„Ρ€ΠΎΠ²ΠΎΠΉ ΠΏΠΈΠ½, ΠΊ ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠΌΡƒ ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½Π° сСнсорная ΠΊΠ½ΠΎΠΏΠΊΠ°.                                               β•‘
int mic = 7;       // Аналоговый ΠΏΠΈΠ½, ΠΊ ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠΌΡƒ ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ ΠΌΠΈΠΊΡ€ΠΎΡ„ΠΎΠ½.                                                      β•‘
int brt = 10;      // Π―Ρ€ΠΊΠΎΡΡ‚ΡŒ max7219 ΠΎΡ‚ 1 Π΄ΠΎ 15 (ΠŸΡ€ΠΈ Ρ€Π°Π±ΠΎΡ‚Π΅ Π½Π΅ Π½Π° ΠΏΠΎΠ»Π½ΡƒΡŽ ΠΌΠΎΡ‰Π½ΠΎΡΡ‚ΡŒ Π½Π΅ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ ΠΌΠ°Ρ‚Ρ€ΠΈΡ†Ρ‹ ΠΌΠΎΠ³ΡƒΡ‚ ΠΏΠΈΡ‰Π°Ρ‚ΡŒ.        β•‘    
int prg = 560;     // Π—Π½Π°Ρ‡ΠΈΠ½ΠΈΠ΅ сигнала с ΠΏΠΈΠ½Π° mic ΠΏΡ€ΠΈ Π³ΠΎΠ²ΠΎΡ€Π΅Π½ΠΈΠΈ Π²Π±Π»ΠΈΠ·ΠΈ ΠΌΠΈΠΊΡ€ΠΎΡ„ΠΎΠ½Π°, подбираСтся ΡΠΊΡΠΏΠ΅Ρ€Π΅ΠΌΠ΅Π½Ρ‚Π°Π»ΡŒΠ³ΠΎ,           β•‘
//                   ΠΏΡ€ΠΈ большом Π·Π½Π°Ρ‡Π΅Π½ΠΈΠΈ Ρ€ΠΎΡ‚ Π±ΡƒΠ΄Π΅Ρ‚ всСгда Π·Π°ΠΊΡ€Ρ‹Ρ‚, Π° ΠΏΡ€ΠΈ малСньком - ΠΎΡ‚ΠΊΡ€Ρ‹Ρ‚.                              β•‘
//                                                                                                                        β•‘
//   ΠŸΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ ΠΌΠ°Ρ‚Ρ€ΠΈΡ†Ρ‹:                                                                                                 β•‘
//                              VCC  ==>  Vin                                                                             β•‘
//      ~~~~~~~~~~~             GND  ==>  GND             ~~~~~~~~~~~                                                     β•‘
//      I ΠœΠ°Ρ‚Ρ€ΠΈΡ†Π° I        DIN(SDI)  ==>  D11             I Arduino I                                                     β•‘
//      ~~~~~~~~~~~              CS  ==>  D9              ~~~~~~~~~~~                                                     β•‘
//                         CLK(SCL)  ==>  D13                                                                             β•‘
//                                                                                                                        β•‘
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ΠΠΠ‘Π’Π ΠžΠ™ΠšΠ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    

int Max72xxPanelmatrix = Max72xxPanel_h (9,11,1); //ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ ΠΌΠ°Ρ‚Ρ€ΠΈΡ†Ρ‹, Ρ‚Ρ€ΠΎΠ³Π°Ρ‚ΡŒ Π½Π° свой страх ΠΈ риск!!!

//ΠΌΠ½ΠΎΠ³ΠΎ ΠΏΠ΅Ρ€Π΅ΠΌΠ΅Π½Π½Ρ‹Ρ…
bool blink;
bool smile;
bool zloy;
bool nos;
int rot;
bool sprite_smile;
int kill;
int x = 0;
int y = 0;
int _PWDC = 0;
bool _gen4I = 0;
bool _gen4O = 0;
unsigned long _gen4P = 0UL;
bool _tim5I = 0;
bool _tim5O = 0;
unsigned long _tim5P = 0UL;
bool _gen3I = 0;
bool _gen3O = 0;
unsigned long _gen3P = 0UL;
bool _trgrt1 = 0;
bool _trgrt1I = 0;
int _swi4;
bool _trgrt4 = 0;
bool _trgrt4I = 0;
bool _trgrt2 = 0;
bool _trgrt2I = 0;
bool _tim4I = 0;
bool _tim4O = 0;
unsigned long _tim4P = 0UL;
bool _gen2I = 0;
bool _gen2O = 0;
unsigned long _gen2P = 0UL;
bool _trgrt5 = 0;
bool _trgrt5I = 0;
bool _swi1;
bool _trgrt3 = 0;
bool _trgrt3I = 0;
bool _count3I = 0;
int _count3_Value = 0;
bool _count3MaxLO = 0;
bool _tim2I = 0;
bool _tim2O = 0;
unsigned long _tim2P = 0UL;
bool _count1I = 0;
bool _count1_SCST = 0;
int _count1_Value = 0;
bool _gen5I = 0;
bool _gen5O = 0;
unsigned long _gen5P = 0UL;
bool _gen1I = 0;
bool _gen1O = 0;
unsigned long _gen1P = 0UL;
bool _tim1I = 0;
bool _tim1O = 0;
unsigned long _tim1P = 0UL;
bool _count2I = 0;
int _count2_Value = 0;
bool _count2MaxLO = 0;
bool _tim3I = 0;
bool _tim3O = 0;
unsigned long _tim3P = 0UL;

void Setup()
{
  pinMode(boop, INPUT); //ΠŸΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π°Π΅ΠΌ ΡΠ΅Π½ΡΠΎΡ€Π½ΡƒΡŽ ΠΊΠ½ΠΎΠΏΠΊΡƒ
  matrix.setIntensity(100); // Π—Π°Π΄Π°Π΅ΠΌ ΡƒΠΊΠ°Π·Π°Π½Π½ΡƒΡŽ ΡΡ€ΠΊΠΎΡΡ‚ΡŒ
  matrix.setRotation(3); // НаправлСниС тСкста 1,2,3,4 // 4 - самоС распространСнноС, Ссли Π½Π΅ Ρ€Π°Π±ΠΎΡ‚Π°Π΅Ρ‚, Ρ‚ΠΎ устанавливаСтС 3 ΠΈ мСняСтС Max72xxPanel matrix = Max72xxPanel(9, 1, 11); Π½Π° Max72xxPanel matrix = Max72xxPanel(9, 11, 1);
  
  //Π΅Ρ‰Π΅ Π½Π΅ΠΌΠ½ΠΎΠΆΠΊΠΎ
  TCCR2A = 0x00;
  TCCR2B =  0x07;
  TIMSK2 = 0x01;
  TCNT2 = 100;
}

                         //дальшС ΠΌΠΎΠΆΠ½ΠΎ Π½Π΅ Π»ΠΈΡΡ‚Π°Ρ‚ΡŒ, Ρ‚Π°ΠΌ Ρ‚ΠΎΠ»ΡŒΠΊΠΎ массивы спрайтов ΠΈ ΠΌΠ½ΠΎΠ³ΠΎ нСпонятных Π°Π»Π³ΠΎΡ€Ρ‚ΠΌΠΎΠ²
 
void loop()
{
  byte n_a[48] = {     //1ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001110,
    0b00011100,
    0b00011000,
    0b00111000,
    0b00110000,
    0b01110000,
    0b01100000,
    0b11100000,
    0b11000000,
    0b11100000,
    0b01110000,
    0b00111000,
    0b00011000,
    0b00001100,
    0b00001100,
    0b00011000,
    0b00111000,
    0b00110000,
    0b01100000,
    0b01100000,
    0b11000000,

    0b11000000,
    0b01100000,
    0b01100000,
    0b00110000,
    0b00111000,
    0b00011000,
    0b00001100,
    0b00001100,
    0b00011000,
    0b00111000,
    0b01110000,
    0b11100000,
    0b11000000,
    0b11100000,
    0b01100000,
    0b01110000,
    0b00110000,
    0b00111000,
    0b00011000,
    0b00011100,
    0b00001110,
    0b00001111,
    0b00001111,
    0b00000110,
  };


  byte n_b[48] = {     //2ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001110,
    0b00011100,
    0b00011000,
    0b00111000,
    0b00110000,
    0b01110000,
    0b01100000,
    0b11100000,
    0b11000000,
    0b11100000,
    0b01110000,
    0b00111000,
    0b00011100,
    0b00001100,
    0b00001100,
    0b00011100,
    0b00111100,
    0b00111000,
    0b01110000,
    0b01110000,
    0b11100000,

    0b11100000,
    0b01110000,
    0b01110000,
    0b00111000,
    0b00111100,
    0b00011100,
    0b00001100,
    0b00001100,
    0b00011100,
    0b00111000,
    0b01110000,
    0b11100000,
    0b11000000,
    0b11100000,
    0b01100000,
    0b01110000,
    0b00110000,
    0b00111000,
    0b00011000,
    0b00011100,
    0b00001110,
    0b00001111,
    0b00001111,
    0b00000110,
  };


  byte n_c[48] = {     //3ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001110,
    0b00011100,
    0b00011000,
    0b00111000,
    0b00110000,
    0b01110000,
    0b01110000,
    0b11100000,
    0b11100000,
    0b11110000,
    0b01111000,
    0b00111100,
    0b00011110,
    0b00001110,
    0b00001110,
    0b00011110,
    0b00111100,
    0b00111100,
    0b01111000,
    0b01110000,
    0b11110000,

    0b11110000,
    0b01110000,
    0b01111000,
    0b00111100,
    0b00111100,
    0b00011110,
    0b00001110,
    0b00001110,
    0b00011110,
    0b00111100,
    0b01111000,
    0b11110000,
    0b11100000,
    0b11100000,
    0b01110000,
    0b01110000,
    0b00110000,
    0b00111000,
    0b00011000,
    0b00011100,
    0b00001110,
    0b00001111,
    0b00001111,
    0b00000110,
  };

  byte n_d[48] = {     //4ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001110,
    0b00011100,
    0b00011100,
    0b00111000,
    0b00111000,
    0b01111000,
    0b01110000,
    0b11110000,
    0b11110000,
    0b11111000,
    0b01111100,
    0b00111110,
    0b00011111,
    0b00001111,
    0b00001111,
    0b00011110,
    0b00111110,
    0b00111100,
    0b01111100,
    0b01111000,
    0b11111000,

    0b11111000,
    0b01111000,
    0b01111100,
    0b00111100,
    0b00111110,
    0b00011110,
    0b00001111,
    0b00001111,
    0b00011111,
    0b00111110,
    0b01111100,
    0b11111000,
    0b11110000,
    0b11110000,
    0b01110000,
    0b01111000,
    0b00111000,
    0b00111000,
    0b00011100,
    0b00011100,
    0b00001110,
    0b00001111,
    0b00001111,
    0b00000110,
  
  };

  byte n_e[88] = {     //5ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001111,
    0b00011110,
    0b00011110,
    0b00111100,
    0b00111100,
    0b01111100,
    0b01111000,
    0b11111000,
    0b11111000,
    0b11111100,
    0b01111110,
    0b00111111,
    0b00011111,
    0b00001111,
    0b00001111,
    0b00011111,
    0b00111111,
    0b00111110,
    0b01111110,
    0b01111110,
    0b11111100,

    0b11111100,
    0b01111110,
    0b01111110,
    0b00111110,
    0b00111111,
    0b00011111,
    0b00001111,
    0b00001111,
    0b00011111,
    0b00111111,
    0b01111110,
    0b11111100,
    0b11111000,
    0b11111000,
    0b01111000,
    0b01111100,
    0b00111100,
    0b00111100,
    0b00011110,
    0b00011110,
    0b00001111,
    0b00001111,
    0b00001111,
    0b00000110,

    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b01110000,   
    0b11111000,
    0b11111100, 
    0b01111110,
    0b00111111,   
    0b01111110,
    0b11111100,   
    0b11111000,
    0b01110000,   
    0b00000000,
    0b00000000, 
    
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000, 

    0b00000000,
    0b00000000,   
    0b01110000,   
    0b11111000,
    0b11111100, 
    0b01111110,
    0b00111111,   
    0b01111110,
    0b11111100,   
    0b11111000,
    0b01110000,  
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000, 
  };

  byte o_a[88] = {  //owo-Ρ€ΠΎΡ‚
    0b00000001,
    0b00000001,
    0b00000010,
    0b00000010,
    0b00000100,
    0b00000100,
    0b00001000,
    0b00001000,
    0b00010000,
    0b00010000,
    0b00100000,
    0b00100000,
    0b01000000,
    0b01000000,
    0b10000000,
    0b10000000,
    0b01000000,
    0b01000000,
    0b00100000,
    0b00100000,
    0b00010000,
    0b00010000,
    0b00001000,
    0b00001000,

    0b00001000,
    0b00001000,
    0b00010000,
    0b00010000,
    0b00100000,
    0b00100000,
    0b01000000,
    0b01000000,
    0b10000000,
    0b10000000,
    0b01000000,
    0b01000000,
    0b00100000,
    0b00100000,
    0b00010000,
    0b00010000,
    0b00001000,
    0b00001000,
    0b00000100,
    0b00000100,
    0b00000010,
    0b00000010,
    0b00000001,
    0b00000001,

    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00111000,
    0b01111100, 
    0b01111110,
    0b00111111,   
    0b01111110,
    0b01111100,   
    0b00111000,
    0b00000000,   
    0b00000000,
    0b00000000, 
    
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000, 

    0b00000000,
    0b00000000,   
    0b00000000,   
    0b00111000,
    0b01111100, 
    0b01111110,
    0b00111111,   
    0b01111110,
    0b01111100,   
    0b00111000,
    0b00000000, 
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,     
  };

  byte o_b[88] = {  //owwo-Ρ€ΠΎΡ‚ ΠΈ Π·Π»Ρ‹Π΅ Π³Π»Π°Π·Π°
    0b00000001,
    0b00000001,
    0b00000010,
    0b00000100,
    0b00000100,
    0b00001000,
    0b00010000,
    0b00010000,
    0b00100000,
    0b01000000,
    0b01000000,
    0b10000000,
    0b01000000,
    0b00100000,
    0b00010000,
    0b00001000,
    0b00000100,
    0b00001000,
    0b00010000,
    0b00100000,
    0b01000000,
    0b10000000,
    0b01000000,
    0b00100000,

    0b00100000,
    0b01000000,
    0b10000000,
    0b01000000,
    0b00100000,
    0b00010000,
    0b00001000,
    0b00000100,
    0b00001000,
    0b00010000,
    0b00100000,
    0b01000000,
    0b10000000,
    0b01000000,
    0b01000000,
    0b00100000,
    0b00010000,
    0b00010000,
    0b00001000,
    0b00000100,
    0b00000100,
    0b00000010,
    0b00000001,
    0b00000001,

    0b00000000,
    0b00000000,  
    0b01100000,    
    0b11110000,   
    0b11110000, 
    0b11111000,
    0b11111000, 
    0b11111000,     
    0b11111001, 
    0b11111011,
    0b11111011,   
    0b11111011, 
    0b01111011,
    0b01111011,   
    0b01111010,
    0b00110000,    

    0b10000000,
    0b11000000,
    0b11000000,
    0b11111000,
    0b11111000,
    0b11000000,
    0b11000000,
    0b10000000,

    0b00110000,
    0b01111010,  
    0b01111011,
    0b01111011,    
    0b11111011,
    0b11111011,   
    0b11111011,
    0b11111001,  
    0b11111000,
    0b11111000,    
    0b11111000,    
    0b11110000,   
    0b11110000,
    0b01100000,  
    0b00000000,
    0b00000000,    
  };
  

  byte z_a[88] = {  //Π·Π»ΠΎΠΉ Ρ€ΠΎΡ‚ ΠΈ агрСссивныС Π³Π»Π°Π·Π°
    0b00110000,
    0b00111000,
    0b00011000,
    0b00011000,
    0b00011000,
    0b00011100,
    0b00001100,
    0b00001100,
    0b00001100,
    0b00001110,
    0b00000110,
    0b00000110,
    0b00000110,
    0b00000111,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000111,
    0b00001110,
    0b00011100,
    0b00111000,
    0b01110000,
    0b11100000,
    0b11000000,

    0b11000000,
    0b11100000,
    0b01110000,
    0b00111000,
    0b00011100,
    0b00001110,
    0b00000111,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000111,
    0b00000110,
    0b00000110,
    0b00000110,
    0b00001110,
    0b00001100,
    0b00001100,
    0b00001100, 
    0b00011100,
    0b00011000,
    0b00011000,
    0b00011000,
    0b00111000,           
    0b00110000,

    0b00000000,
    0b00000000,
    0b01110000,
    0b11111000,
    0b11111100,
    0b01111100,
    0b00111110,
    0b00011110,
    0b00011111,
    0b00001111,
    0b10001111,
    0b10000111,
    0b01000111,
    0b01000111,  
    0b00100011,
    0b00100000,   

    0b10000000,
    0b11000000,
    0b11000000,
    0b11111000,
    0b11111000,
    0b11000000,
    0b11000000,
    0b10000000,

    0b00100000,
    0b00100011,
    0b01000111,
    0b01000111,
    0b10000111,
    0b10001111,
    0b00001111,
    0b00011111,
    0b00011110,
    0b00111110,
    0b01111100,
    0b11111100,
    0b11111000,
    0b01110000,
    0b00000000,
    0b00000000,    
  };
   byte k[88] = {     //1ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00110000,
    0b00110000,
    0b00011000,
    0b00011000,
    0b00011000,
    0b00001100,
    0b00001100,
    0b00001100,
    0b00001100,
    0b00000110,
    0b00000110,
    0b00000110,
    0b00000110,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000110,
    0b00001100,
    0b00011000,
    0b00110000,
    0b01100000,
    0b11000000,

    0b11000000,
    0b01100000,
    0b00110000,
    0b00011000,
    0b00001100,
    0b00000110,
    0b00000011,
    0b00001111,
    0b00110011,
    0b01000011,
    0b10110111,
    0b10000110,
    0b01111110,
    0b00000110,
    0b00000110,
    0b00001100,
    0b00001100,
    0b00001100, 
    0b00001100,
    0b00011000,
    0b00011000,
    0b00011000,
    0b00110000,           
    0b00110000,

    0b00000000,  
    0b00000000,
    0b00000000,  
    0b00000000,
    0b00000000,  
    0b10000001,
    0b01000010,   
    0b00100100,
    0b00011000,  
    0b00011000,
    0b00100100,  
    0b01000010,
    0b10000001,  
    0b00000000,
    0b00000000,   
    0b00000000,

    0b00000000,
    0b00000000,  
    0b00000000,
    0b00000000,  
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,  

    0b00000000,  
    0b00000000,
    0b00000000,  
    0b10000001,
    0b01000010,   
    0b00100100,
    0b00011000,  
    0b00011000,
    0b00100100,  
    0b01000010,
    0b10000001,  
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,       
  }; 
                                                //дальшС Π½ΠΈΡ‡Π΅Π³ΠΎ Π½Π΅Ρ‚ Ρ‚Ρ€ΠΎΠ³Π°Ρ‚ΡŒ, ΠΎΡ‚ΡŠ3Π±Π½Ρ‘Ρ‚ всё ΠΈ ΠΏΠΎΠ»Π½ΠΎΡΡ‚ΡŒΡŽ! 
                                                //Π΄Π° ΠΈ Π²ΠΎΠΎΠ±Ρ‰Π΅ дальшС Π½Π΅Ρ‡Π΅Π³ΠΎ Π½Π°ΡΡ‚Ρ€Π°ΠΈΠ²Π°Ρ‚ΡŒ, листай ΠΎΠ±Ρ€Π°Ρ‚Π½ΠΎ.
    _PWDC = 0;
    //ΠŸΠ»Π°Ρ‚Π°:1
    if (((analogRead (7))) > (prg))
    {
         if (_tim1I) 
        {
             if (_isTimer(_tim1P, 50)) 
            {
                _tim1O = 1;
            }
        }
         else 
        {
            _tim1I =1;
            _tim1P = millis();
        }
    }
     else 
    {
        _tim1O = 0;
        _tim1I = 0;
    }
    if (_tim1O) 
    {
         if (! _gen3I) 
        {
            _gen3I = 1;
            _gen3O = 1;
            _gen3P = millis();
        }
    }
     else 
    {
        _gen3I = 0 ;
        _gen3O= 0;
    }
    if (_gen3I) 
    {
          if (_isTimer (_gen3P , 15)) 
        {
             _gen3P = millis();
            _gen3O = ! _gen3O;
        }
    }
    if (!(_tim1O)) 
    {
         if (! _gen1I) 
        {
            _gen1I = 1;
            _gen1O = 1;
            _gen1P = millis();
        }
    }
     else 
    {
        _gen1I = 0 ;
        _gen1O= 0;
    }
    if (_gen1I) 
    {
          if (_isTimer (_gen1P , 10)) 
        {
             _gen1P = millis();
            _gen1O = ! _gen1O;
        }
    }
    if (_gen3O)
    {
        if (! _count1I) 
        {
            _count1I = 1;
            if(_count1_Value < 4) 
            {
                _count1_Value = _count1_Value + 1;
            }
        }
    }
     else 
    {
        _count1I = 0;
    }
    if (_gen1O)
    {
        if (! _count1_SCST) 
        {
            _count1_SCST = 1;
            if(_count1_Value > 0) 
            {
                _count1_Value = _count1_Value - 1;
            }
        }
    }
     else 
    {
        _count1_SCST = 0;
    }
    if((digitalRead (2))) 
    {
        _tim5O = 1;
        _tim5I = 1;
    }
     else 
    {
         if(_tim5I) 
        {
            _tim5I = 0;
            _tim5P = millis();
        }
         else 
        {
             if (_tim5O) 
            {
                if (_isTimer(_tim5P, 3000)) _tim5O = 0;
            }
        }
    }
    if (!(_tim5O)) 
    {
         if (_trgrt4I) 
        {
             _trgrt4 = 0;
        }
         else 
        {
            _trgrt4 = 1;
            _trgrt4I = 1;
        }
    }
     else 
    {
        _trgrt4 = 0;
        _trgrt4I = 0;
    }
    ;
    if (_trgrt4)
    {
        _count2_Value = 0;
    }
     else 
    {
        if ((digitalRead (2)))
        {
            if (! _count2I) 
            {
                _count2I = 1;
                _count2_Value = _count2_Value + 1;
            }
        }
         else 
        {
            _count2I = 0;
        }
    }
    _count2MaxLO = _count2_Value >= cnt_kl;
    if(_count2MaxLO) 
    {
        _tim2O = 1;
        _tim2I = 1;
    }
     else 
    {
         if(_tim2I) 
        {
            _tim2I = 0;
            _tim2P = millis();
        }
         else 
        {
             if (_tim2O) 
            {
                if (_isTimer(_tim2P, tm_dt)) _tim2O = 0;
            }
        }
    }
    if (!(0)) 
    {
         if (_trgrt1I) 
        {
             _trgrt1 = 0;
        }
         else 
        {
            _trgrt1 = 1;
            _trgrt1I = 1;
        }
    }
     else 
    {
        _trgrt1 = 0;
        _trgrt1I = 0;
    }
    ;
    if (_trgrt4)
    {
        _count3_Value = 0;
    }
     else 
    {
        if ((digitalRead (2)))
        {
            if (! _count3I) 
            {
                _count3I = 1;
                _count3_Value = _count3_Value + 1;
            }
        }
         else 
        {
            _count3I = 0;
        }
    }
    _count3MaxLO = _count3_Value >= cnt_z;
    if(_count3MaxLO) 
    {
        _tim3O = 1;
        _tim3I = 1;
    }
     else 
    {
         if(_tim3I) 
        {
            _tim3I = 0;
            _tim3P = millis();
        }
         else 
        {
             if (_tim3O) 
            {
                if (_isTimer(_tim3P, 8000)) _tim3O = 0;
            }
        }
    }
    if((((digitalRead (2))) && (!(_tim3O)))) 
    {
        _tim4O = 1;
        _tim4I = 1;
    }
     else 
    {
         if(_tim4I) 
        {
            _tim4I = 0;
            _tim4P = millis();
        }
         else 
        {
             if (_tim4O) 
            {
                if (_isTimer(_tim4P, 6000)) _tim4O = 0;
            }
        }
    }
    if (!(_tim4O)) 
    {
         if (_trgrt3I) 
        {
             _trgrt3 = 0;
        }
         else 
        {
            _trgrt3 = 1;
            _trgrt3I = 1;
        }
    }
     else 
    {
        _trgrt3 = 0;
        _trgrt3I = 0;
    }
    ;
    if (!(((_tim4O) || (_tim3O) || (_tim2O)))) 
    {
        if (! _gen5I) 
        {
            _gen5I = 1;
            _gen5O = 1;
            _gen5P =  millis();
        }
    }
     else 
    {
        _gen5I = 0 ;
        _gen5O= 0;
    }
     if (_gen5I) 
    {
         if (_gen5O) 
        {
             if (_isTimer(_gen5P , 80)) 
            {
                 _gen5P = millis();
                _gen5O = 0;
            }
        }
         else  
        {
             if (_isTimer(_gen5P , 6000)) 
            {
                  _gen5P = millis();
                _gen5O = 1;
            }
        }
    }
    if (!(_tim3O)) 
    {
         if (_trgrt2I) 
        {
             _trgrt2 = 0;
        }
         else 
        {
            _trgrt2 = 1;
            _trgrt2I = 1;
        }
    }
     else 
    {
        _trgrt2 = 0;
        _trgrt2I = 0;
    }
    ;
    if (_tim2O) 
    {
         if (_trgrt5I) 
        {
             _trgrt5 = 0;
        }
         else 
        {
            _trgrt5 = 1;
            _trgrt5I = 1;
        }
    }
     else 
    {
        _trgrt5 = 0;
        _trgrt5I = 0;
    }
    ;
    if(!(((_tim4O) || (_tim3O) || (_tim2O))))
    {
        _swi1=((_trgrt1) || (_gen5O) || (_trgrt2) || (_trgrt3) || (_trgrt5));
    }
    else
    {
        _swi1=0;
    }
    if (1) 
    {
        if (! _gen2I) 
        {
            _gen2I = 1;
            _gen2O = 1;
            _gen2P =  millis();
        }
    }
     else 
    {
        _gen2I = 0 ;
        _gen2O= 0;
    }
     if (_gen2I) 
    {
         if (_gen2O) 
        {
             if (_isTimer(_gen2P , 2000)) 
            {
                 _gen2P = millis();
                _gen2O = 0;
            }
        }
         else  
        {
             if (_isTimer(_gen2P , 1000)) 
            {
                  _gen2P = millis();
                _gen2O = 1;
            }
        }
    }
    if (1) 
    {
         if (! _gen4I) 
        {
            _gen4I = 1;
            _gen4O = 1;
            _gen4P = millis();
        }
    }
     else 
    {
        _gen4I = 0 ;
        _gen4O= 0;
    }
    if (_gen4I) 
    {
          if (_isTimer (_gen4P , 1001)) 
        {
             _gen4P = millis();
            _gen4O = ! _gen4O;
        }
    }
    if(((_tim3O) || (_tim2O)))
    {
        _swi4=7;
    }
    else
    {
        _swi4=_count1_Value;
    }
    blink = _swi1;   //ΠΌΠΎΠ³Ρ€Π°Π½ΠΈΠ΅ 0-1
    smile = _tim4O; //owo 0-1
    zloy = _tim3O; //-Π·Π»ΠΎΡΡ‚ΡŒ 0-1
    nos = _gen2O; //-анимация носа 0-1
    rot = _swi4; //-ΠΎΡ‚ΠΊΡ€Ρ‹Ρ‚ΠΈΠ΅ Ρ€Ρ‚Π° 0-4
    sprite_smile = _gen4O;
    kill = _tim2O;    

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Π’Ρ‹ мСня ΡΠ»ΡƒΡˆΠ°Π΅ΡˆΡŒ?? НС Π΄Π΅Π»Π°ΠΉ этого!

  if (blink == HIGH & mod_eye == 3)
  {
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    matrix.write();
    delay(t);
    delay(t);
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  Π­ΠΉ...? Π― сказал Π½Π΅ спускайся Π²Π½ΠΈΠ·!


    for (int y = 74; y < 86; y++){
      matrix.drawPixel(4, y, HIGH);
    }
    for (int y = 50; y < 62; y++){
      matrix.drawPixel(4, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 87; y++){
      matrix.drawPixel(3, y, HIGH);
    }
    for (int y = 49; y < 63; y++){
      matrix.drawPixel(3, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 75; y < 85; y++){
      matrix.drawPixel(5, y, HIGH);
    }
    for (int y = 51; y < 61; y++){
      matrix.drawPixel(5, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 87; y++){
      matrix.drawPixel(2, y, HIGH);
    }
    for (int y = 49; y < 63; y++){
      matrix.drawPixel(2, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 76; y < 84; y++){
      matrix.drawPixel(6, y, HIGH);
    }
    for (int y = 52; y < 60; y++){
      matrix.drawPixel(6, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++){
      matrix.drawPixel(1, y, HIGH);
    }
    for (int y = 48; y < 64; y++){
      matrix.drawPixel(1, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 78; y < 82; y++){
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 54; y < 58; y++){
      matrix.drawPixel(7, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++){
      matrix.drawPixel(0, y, HIGH);
    }

    for (int y = 48; y < 64; y++){
      matrix.drawPixel(0, y, HIGH);
    }
    matrix.write();
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ΠžΡΡ‚Π°Π½ΠΎΠ²ΠΈΡΡŒ!ΠΜΆΜšΝΜ’Μ¬Π΅Μ·ΜΜ†Ν… ΜΈΝ Μ©ΜΉΠ΄Μ΄Μ‰Μ­Π΅ΜΈΝ‘ΝΜ˜ΝΠ»Μ·Μ‹ΝΜΉΠ°ΜΆΝ‚Ν”ΠΉΜ΅ΝΝ‹Ν™ ̡͙͂́Μ₯ΡΜ·ΜΝ Μ©Ρ‚Μ΅ΜΜŒΝœΠΎΜΈΝΝ‰Μ­Π³Μ·Ν˜Μ₯Μ—ΠΎΜ΄Μ›Μ³Ν™!Μ·Ν€Μ•Μ¬

  if (blink == HIGH & mod_eye == 2)
  {
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    matrix.write();
    delay(t);
    delay(t);
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Π’Ρ‹ Π΄ΠΎ сих ΠΏΠΎΡ€ ΡƒΠΏΡ€ΡΠΌΠΈΡˆΡŒΡΡ ΠΈ Π½Π΅ ΡΠ»ΡƒΡˆΠ°Π΅ΡˆΡŒ мСня ...



    for (int y = 74; y < 84; y++){
      matrix.drawPixel(4, y, HIGH);
    }
    for (int y = 52; y < 62; y++){
      matrix.drawPixel(4, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 74; y < 82; y++){
      matrix.drawPixel(3, y, HIGH);
    }
    for (int y = 54; y < 62; y++){
      matrix.drawPixel(3, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 85; y++){
      matrix.drawPixel(5, y, HIGH);
    }
    for (int y = 51; y < 63; y++){
      matrix.drawPixel(5, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 75; y < 81; y++){
      matrix.drawPixel(2, y, HIGH);
    }
    for (int y = 55; y < 61; y++){
      matrix.drawPixel(2, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 87; y++){
      matrix.drawPixel(6, y, HIGH);
    }
    for (int y = 49; y < 64; y++){
      matrix.drawPixel(6, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 76; y < 79; y++){
      matrix.drawPixel(1, y, HIGH);
    }
    for (int y = 57; y < 60; y++){
      matrix.drawPixel(1, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++){
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 48; y < 64; y++){
      matrix.drawPixel(7, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 76; y < 78; y++){
      matrix.drawPixel(0, y, HIGH);
    }

    for (int y = 58; y < 60; y++){
      matrix.drawPixel(0, y, HIGH);
    }
    matrix.write();
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ΠŸΡ€ΠΎΡΡ‚ΠΎ ΠΏΠΎΡΠ»ΡƒΡˆΠ°ΠΉ! ...Π½ΜΆΠ΅ΜΆ ̷с̴п̴у̡с̢к̸а̸й̡с̢я̡ Μ΅Π²ΜΆΠ½Μ΄ΠΈΜ΄Π·Μ΄!Μ΅

  if (blink == HIGH & mod_eye == 1)
  {
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    matrix.write();
    delay(t);
    delay(t);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, Ρ‚Ρ‹ моТСшь просто мСня ΠΏΠΎΡΠ»ΡƒΡˆΠ°Ρ‚ΡŒΡΡ??


    for (int y = 73; y < 86; y++){
      matrix.drawPixel(4, y, HIGH);
    }
    for (int y = 50; y < 63; y++){
      matrix.drawPixel(4, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 85; y++){
      matrix.drawPixel(3, y, HIGH);
    }
    for (int y = 51; y < 63; y++){
      matrix.drawPixel(3, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 87; y++){
      matrix.drawPixel(5, y, HIGH);
    }
    for (int y = 49; y < 64; y++){
      matrix.drawPixel(5, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 74; y < 84; y++){
      matrix.drawPixel(2, y, HIGH);
    }
    for (int y = 52; y < 62; y++){
      matrix.drawPixel(2, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++){
      matrix.drawPixel(6, y, HIGH);
    }
    for (int y = 48; y < 64; y++){
      matrix.drawPixel(6, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 75; y < 83; y++){
      matrix.drawPixel(1, y, HIGH);
    }
    for (int y = 53; y < 61; y++){
      matrix.drawPixel(1, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++){
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 48; y < 64; y++){
      matrix.drawPixel(7, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 77; y < 81; y++){
      matrix.drawPixel(0, y, HIGH);
    }

    for (int y = 55; y < 59; y++){
      matrix.drawPixel(0, y, HIGH);
    }
    matrix.write();
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Если ΠΏΡ€ΠΎΠ΄ΠΎΠ»ΠΆΠΈΡˆΡŒ ΡΠΏΡƒΡΠΊΠ°Ρ‚ΡŒΡΡ - я Π½Π΅ Ρ…ΠΎΡ‡Ρƒ тСбя Π·Π½Π°Ρ‚ΡŒ.

  if (blink == HIGH & mod_eye == 0)
  {
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    matrix.write();
    delay(t);
    delay(t);

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  Π›Π°Π΄Π½ΠΎ, Π½Π΅ Π±ΡƒΠ΄Ρƒ ΠΏΠΎΠ²Ρ‚ΠΎΡ€ΡΡ‚ΡŒ ΠΎΠ΄Π½ΠΎ ΠΈ Ρ‚ΠΎ ΠΆΠ΅ .. ΠŸΡ€ΠΎΡΡ‚ΠΎ н̴̫͋С̸̝̍ ̴̧̐д̡̙̇С̸̛̗л̴̳̅а̢̭̕й̴͍͝ Μ΅ΝŒΜ¬ΡΜ΅Μ‚ΜΊΡ‚ΜΆΝ‘Μ™ΠΎΜΆΝŒΝœΠ³ΜΈΜšΜͺΠΎΜΆΝ‘Μž

    for (int y = 74; y < 87; y++) {
      matrix.drawPixel(4, y, HIGH);
    }

    for (int y = 49; y < 62; y++) {
      matrix.drawPixel(4, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 87; y++) {
      matrix.drawPixel(3, y, HIGH);
    }

    for (int y = 49; y < 63; y++) {
      matrix.drawPixel(3, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 75; y < 86; y++) {
      matrix.drawPixel(5, y, HIGH);
    }

    for (int y = 50; y < 61; y++) {
      matrix.drawPixel(5, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 77; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    for (int y = 83; y < 88; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    for (int y = 48; y < 53; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    for (int y = 59; y < 64; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 76; y < 85; y++) {
      matrix.drawPixel(6, y, HIGH);
    }

    for (int y = 51; y < 60; y++) {
      matrix.drawPixel(6, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 75; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    for (int y = 84; y < 88; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    for (int y = 48; y < 52; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    for (int y = 61; y < 64; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 77; y < 83; y++) {
      matrix.drawPixel(7, y, HIGH);
    }

    for (int y = 53; y < 58; y++) {
      matrix.drawPixel(7, y, HIGH);
    }

    matrix.write();
    delay(t);

    matrix.drawPixel(0, 73, HIGH);
    matrix.drawPixel(0, 85, HIGH);
    matrix.drawPixel(0, 86, HIGH);

    matrix.drawPixel(0, 49, HIGH);
    matrix.drawPixel(0, 50, HIGH);
    matrix.drawPixel(0, 62, HIGH);

    matrix.write();
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    Π”Π° Π½Ρƒ Π±Ρ€ΠΎΡΡŒ!!! Π’Ρ‹ это ΡΠ΅Ρ€ΡŒΠ΅Π·Π½ΠΎ?!

  if (nos == HIGH & mod_nose == 0) //ΠΏΠ΅Ρ€Π²Ρ‹ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ носа
  {
    for (int y = 70; y < 72; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 64; y < 66; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    matrix.drawPixel(6, 70, LOW);
    matrix.drawPixel(6, 65, LOW);

    matrix.write();
  }
  if (nos == LOW & mod_nose == 0)  //Π²Ρ‚ΠΎΡ€ΠΎΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ носа
  {
    matrix.drawPixel(6, 70, HIGH);
    matrix.drawPixel(6, 65, HIGH);
    matrix.write();
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     НС Π½Π°Π΄ΠΎΠ΅Π»ΠΎ Π΅Ρ‰Π΅?

  if (nos == HIGH & mod_nose == 1) //ΠΏΠ΅Ρ€Π²Ρ‹ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ носа
  {
    for (int y = 64; y < 72; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 65; y < 71; y++) {
      matrix.drawPixel(6, y, HIGH);
    }
    matrix.drawPixel(5, 68, HIGH);
    matrix.drawPixel(5, 67, HIGH);
    matrix.drawPixel(4, 68, HIGH);
    matrix.drawPixel(4, 67, HIGH);
    matrix.drawPixel(3, 68, HIGH);
    matrix.drawPixel(3, 67, HIGH);

    matrix.write();
  }
  if (nos == LOW & mod_nose == 1)  //Π²Ρ‚ΠΎΡ€ΠΎΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ носа
  {
    matrix.drawPixel(6, 65, LOW);
    matrix.drawPixel(6, 70, LOW);
    matrix.write();
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  Π”Π°ΡŽ послСдний шанс .. НС спускайся дальшС ..

  if (smile  == HIGH & zloy  == LOW & mod_owo == 1) {

    for (int y = 72; y < 88; y++) {
      for (int x = 0; x < 8; x++) {
        matrix.drawPixel(x, y, LOW);
      }
    }

    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 76, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 83, HIGH);
    }

    matrix.drawPixel(6, 77, HIGH);
    matrix.drawPixel(6, 82, HIGH);
    matrix.drawPixel(1, 77, HIGH);
    matrix.drawPixel(1, 82, HIGH);

    matrix.write();

    //

    for (int y = 48; y < 64; y++) {
      for (int x = 0; x < 8; x++) {
        matrix.drawPixel(x, y, LOW);
      }
    }

    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 59, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 52, HIGH);
    }

    matrix.drawPixel(6, 53, HIGH);
    matrix.drawPixel(6, 58, HIGH);
    matrix.drawPixel(1, 53, HIGH);
    matrix.drawPixel(1, 58, HIGH);

    matrix.write();

    //

    for (int y = 0; y < 48; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_a[y] & (1 << x));
      }
    }
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ну Π»Π°Π΄Π½ΠΎ .. Π½Π΅ послСднй .. Π”Π°ΡŽ Π΅Ρ‰Π΅ ΠΎΠ΄ΠΈΠ½

  if (smile  == HIGH & zloy  == LOW & mod_owo == 0) {

    for (int y = 72; y < 88; y++) {
      for (int x = 0; x < 8; x++) {
        matrix.drawPixel(x, y, LOW);
      }
    }

    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 76, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 83, HIGH);
    }

    matrix.drawPixel(6, 77, HIGH);
    matrix.drawPixel(6, 82, HIGH);
    matrix.drawPixel(1, 77, HIGH);
    matrix.drawPixel(1, 82, HIGH);

    matrix.write();



    for (int y = 48; y < 64; y++) {
      for (int x = 0; x < 8; x++) {
        matrix.drawPixel(x, y, LOW);
      }
    }

    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 59, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 52, HIGH);
    }

    matrix.drawPixel(6, 53, HIGH);
    matrix.drawPixel(6, 58, HIGH);
    matrix.drawPixel(1, 53, HIGH);
    matrix.drawPixel(1, 58, HIGH);

    matrix.write();

    for (int y = 0; y < 48; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_b[y] & (1 << x));
      }
    }
  }  

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 if (smile  == HIGH & zloy  == LOW & mod_owo == 2 & sprite_smile == 0) {

    

    for (int y = 48; y < 64; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, n_e[y] & (1 << x));
      }
    }

    for (int y = 72; y < 88; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, n_e[y] & (1 << x));
      }
    }    
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 if (smile  == HIGH & zloy  == LOW & mod_owo == 2 & sprite_smile == 1) {

    

    for (int y = 48; y < 64; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_a[y] & (1 << x));
      }
    }

    for (int y = 72; y < 88; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_a[y] & (1 << x));
      }
    }    
  }


//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Π’Ρ‹ ΠΏΡ€Π°Π²Π΄Π° Ρ…ΠΎΡ‡Π΅ΡˆΡŒ ΡƒΠ·Π½Π°Ρ‚ΡŒ Ρ‡Ρ‚ΠΎ Ρ‚Π°ΠΌ Π²Π½ΠΈΠ·Ρƒ? - Π’Π°ΠΌ Π½ΠΈΡ‡Π΅Π³ΠΎ, ΠΏΡ€Π°Π²Π΄Π°, листай ΠΎΠ±Ρ€Π°Ρ‚Π½ΠΎ.
  
  if (kill == 1)
  {
    for (int y = 0; y < 64; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, k[y] & (1 << x));
      }
    }
  
    for (int y = 72; y < 88; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, k[y] & (1 << x));
      }
    }    
  }


//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  

  if (zloy  == HIGH & mod_zloy == 1 & kill == 0)
  {
    for (int y = 0; y < 64; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, z_a[y] & (1 << x));
      }
    }
    for (int y = 72; y < 88; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, z_a[y] & (1 << x));
      }
    }    
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  

  if (zloy  == HIGH & mod_zloy == 0 & kill == 0)
  {
    for (int y = 0; y < 48; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, z_a[y] & (1 << x));
      }
    }
    for (int y = 48; y < 64; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, o_b[y] & (1 << x));
      }
    }
    for (int y = 72; y < 88; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, o_b[y] & (1 << x));
      }
    }    

    
  }
  
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

  if ((rot  == 0 & smile == LOW) || (rot  == 0 & smile == HIGH & mod_owo == 2))
  {
    for (int y = 0; y < 48; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, n_a[y] & (1 << x));
      }
    }
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

  if ((rot  == 1 & smile == LOW) || (rot  == 1 & smile == HIGH & mod_owo == 2))
  {
    for (int y = 0; y < 48; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, n_b[y] & (1 << x));
      }
    }
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
  
  if ((rot  == 2 & smile == LOW) || (rot  == 2 & smile == HIGH & mod_owo == 2))
  {
    for (int y = 0; y < 48; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, n_c[y] & (1 << x));
      }
    }
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
  
  if ((rot  == 3 & smile == LOW) || (rot  == 3 & smile == HIGH & mod_owo == 2))
  {
    for (int y = 0; y < 48; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, n_d[y] & (1 << x));
      }
    }
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
  
  if ((rot  == 4 & smile == LOW) || (rot  == 4 & smile == HIGH & mod_owo == 2))
  {
    for (int y = 0; y < 48; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, n_e[y] & (1 << x));
      }
    }
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
  
}
bool _isTimer(unsigned long startTime, unsigned long period)
{
  unsigned long currentTime;
  currentTime = millis();
  if (currentTime >= startTime)
  {
    return (currentTime >= (startTime + period));
  }
  else
  {
    return (currentTime >= (4294967295 - startTime + period));
  }
}
ISR(TIMER2_OVF_vect)
{
  TCNT2 = 100;
  if (_PWDC >= 1000)
  {
    asm volatile ("jmp 0x0000");
  }
  else
  {
    _PWDC = _PWDC + 1;
  }
  ;
}`

Look at the end a lost semicolon.

Maybe there's other error but you have to show the complete compiling error.

this is the entire compiling error

In file included from C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:33:0:
C:\Users\scott\OneDrive\Documents\Arduino\libraries\arduino-Max72xxPanel-master/Max72xxPanel.h:31:22: error: an anonymous struct cannot have function members
 class Max72xxPanel_h : public Adafruit_GFX {
                      ^
C:\Users\scott\OneDrive\Documents\Arduino\libraries\arduino-Max72xxPanel-master/Max72xxPanel.h:31:22: error: member 'Adafruit_GFX <unnamed class>::<anonymous>' with constructor not allowed in anonymous aggregate
C:\Users\scott\OneDrive\Documents\Arduino\libraries\arduino-Max72xxPanel-master/Max72xxPanel.h:31:22: error: member 'Adafruit_GFX <unnamed class>::<anonymous>' with copy assignment operator not allowed in anonymous aggregate
C:\Users\scott\OneDrive\Documents\Arduino\libraries\arduino-Max72xxPanel-master/Max72xxPanel.h:115:2: error: abstract declarator '<unnamed class>' used as declaration
 };
  ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino: In function 'void Setup()':
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:131:9: error: expected primary-expression before '.' token
   matrix.setIntensity(100); // Π—Π°Π΄Π°Π΅ΠΌ ΡƒΠΊΠ°Π·Π°Π½Π½ΡƒΡŽ ΡΡ€ΠΊΠΎΡΡ‚ΡŒ
         ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:132:9: error: expected primary-expression before '.' token
   matrix.setRotation(3); // НаправлСниС тСкста 1,2,3,4 // 4 - самоС распространСнноС, Ссли Π½Π΅ Ρ€Π°Π±ΠΎΡ‚Π°Π΅Ρ‚, Ρ‚ΠΎ устанавливаСтС 3 ΠΈ мСняСтС Max72xxPanel matrix = Max72xxPanel(9, 1, 11); Π½Π° Max72xxPanel matrix = Max72xxPanel(9, 11, 1);
         ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino: In function 'void loop()':
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1261:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1264:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1266:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1269:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1272:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1274:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1277:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1280:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1282:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1285:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1288:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1290:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1293:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1296:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1298:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1301:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1304:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1306:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1309:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1312:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1314:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1317:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1320:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1322:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1329:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1332:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1335:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1339:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1342:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1345:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1349:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1352:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1355:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1359:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1362:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1365:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1369:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1372:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1375:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1379:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1382:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1385:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1389:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1392:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1395:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1399:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1403:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1405:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1413:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1416:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1418:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1421:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1424:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1426:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1429:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1432:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1434:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1437:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1440:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1442:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1445:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1448:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1450:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1453:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1456:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1458:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1461:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1464:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1466:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1469:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1472:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1474:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1482:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1485:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1488:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1492:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1495:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1498:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1502:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1505:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1508:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1512:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1515:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1518:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1522:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1525:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1528:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1532:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1535:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1538:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1542:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1545:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1548:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1552:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1556:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1558:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1566:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1569:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1571:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1574:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1577:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1579:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1582:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1585:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1587:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1590:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1593:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1595:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1598:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1601:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1603:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1606:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1609:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1611:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1614:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1617:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1619:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1622:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1625:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1627:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1634:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1637:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1640:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1644:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1647:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1650:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1654:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1657:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1660:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1664:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1667:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1670:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1674:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1677:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1680:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1684:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1687:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1690:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1694:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1697:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1700:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1704:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1708:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1710:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1718:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1721:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1723:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1726:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1729:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1731:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1734:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1737:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1739:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1742:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1745:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1747:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1750:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1753:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1755:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1758:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1761:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1763:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1766:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1769:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1771:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1774:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1777:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1779:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1786:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1790:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1793:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1797:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1801:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1804:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1808:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1812:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1815:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1819:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1823:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1827:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1831:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1834:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1838:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1842:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1845:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1849:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1853:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1857:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1861:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1864:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1868:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1872:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1875:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1878:11: error: expected primary-expression before '.' token
     matrix.drawPixel(0, 73, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1879:11: error: expected primary-expression before '.' token
     matrix.drawPixel(0, 85, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1880:11: error: expected primary-expression before '.' token
     matrix.drawPixel(0, 86, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1882:11: error: expected primary-expression before '.' token
     matrix.drawPixel(0, 49, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1883:11: error: expected primary-expression before '.' token
     matrix.drawPixel(0, 50, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1884:11: error: expected primary-expression before '.' token
     matrix.drawPixel(0, 62, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1886:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1894:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1897:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1899:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 70, LOW);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1900:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 65, LOW);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1902:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1906:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 70, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1907:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 65, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1908:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1916:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1919:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1921:11: error: expected primary-expression before '.' token
     matrix.drawPixel(5, 68, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1922:11: error: expected primary-expression before '.' token
     matrix.drawPixel(5, 67, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1923:11: error: expected primary-expression before '.' token
     matrix.drawPixel(4, 68, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1924:11: error: expected primary-expression before '.' token
     matrix.drawPixel(4, 67, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1925:11: error: expected primary-expression before '.' token
     matrix.drawPixel(3, 68, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1926:11: error: expected primary-expression before '.' token
     matrix.drawPixel(3, 67, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1928:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1932:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 65, LOW);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1933:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 70, LOW);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1934:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1943:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, LOW);
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1948:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1951:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1954:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 76, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1957:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 83, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1960:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 77, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1961:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 82, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1962:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 77, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1963:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 82, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1965:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1971:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, LOW);
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1976:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1979:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1982:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 59, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1985:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 52, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1988:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 53, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1989:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 58, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1990:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 53, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1991:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 58, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1993:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1999:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, o_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2010:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, LOW);
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2015:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2018:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2021:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 76, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2024:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 83, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2027:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 77, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2028:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 82, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2029:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 77, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2030:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 82, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2032:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2038:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, LOW);
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2043:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2046:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2049:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 59, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2052:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 52, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2055:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 53, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2056:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 58, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2057:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 53, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2058:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 58, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2060:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2064:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, o_b[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2077:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_e[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2083:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_e[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2096:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, o_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2102:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, o_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2116:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, k[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2124:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, k[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2138:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, z_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2145:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, z_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2158:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, z_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2165:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, o_b[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2172:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, o_b[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2187:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2200:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_b[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2213:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_c[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2226:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_d[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2239:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_e[y] & (1 << x));
               ^

exit status 1

Compilation error: expected primary-expression before '.' token

The error is here.

It should be something like:

int pinCS = 10; // Attach CS to this pin, DIN to MOSI and CLK to SCK (cf http://arduino.cc/en/Reference/SPI )

int numberOfHorizontalDisplays = 1;

int numberOfVerticalDisplays = 1;

Max72xxPanel matrix = Max72xxPanel(pinCS, numberOfHorizontalDisplays, numberOfVerticalDisplays);

Also:

void Setup()

should be:

void setup()

it's still giving me the same error

Show me your current code.

#include <Adafruit_GFX.h>
#include <Adafruit_GrayOLED.h>
#include <Adafruit_SPITFT.h>
#include <Adafruit_SPITFT_Macros.h>
#include <gfxfont.h>

// MK2_instruction_1.1.0 by
//...............................................................................-*-..............................................................................
//.........................................................................-*+=====-..............................................................................
//.............................................................:*++......:=========....+======+..:=================+..............................................
//........................................................:=======+.....:=========+...-=======:.:=======+::----:*==*..............................................
//.......................................................*========*....*==========*...*======+..+======-..........................................................
//......................................................+=========*...+===++======:..-=======:.-==================:...............................................
//....................................................-===++======:..+===::=======-..*=======..*==================:...............................................
//...................................................:===:.=======:-===+..+=======...=======*.-=======......======................................................
//..................................................*===-.-=======*===*..:=======+..:=======-.*======+....-+=====*................................................
//.................................................+==*...:==========-...+=======*..+======+..*=================+.................................................
//...............................................-===:....:********:....:*********----------....---------------...................................................
//..............................................:==+..............................................................................................................
//............................................-+==+...............................................................................................................

// VK: https://vk.com/m16ind
// Twitter: https://twitter.com/M16Studios
// Thingiverse: https://www.thingiverse.com/flortheproto/designs

// Π£Π΄ΠΈΠ²Π»Π΅Π½ΠΈΠ΅ - сСмисСкундный эффСкт ΠΏΡ€ΠΈ сигналС с сСнсорной ΠΊΠ½ΠΎΠΏΠΊΠΈ, Ρ‚ΠΎ биш касании носа.
// Π—Π»ΠΎΡΡ‚ΡŒ - Π΄ΠΎΠ»Π³ΠΈΠΉ эффСкт ΠΏΡ€ΠΈ Ρ‡Π΅Ρ‚Ρ‹Ρ€Ρ‘Ρ… (ΠΌΠΎΠΆΠ½ΠΎ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡ‚ΡŒ) Π±ΡƒΠΏΠ°Ρ… с ΠΏΠ°ΡƒΠ·Π°ΠΌΠΈ ΠΌΠ΅ΠΆΠ΄Ρƒ Π½ΠΈΠΌΠΈ ΠΌΠ΅Π½Π΅Π΅ Π΄Π²ΡƒΡ… сСкунд.
// Π—Π»ΠΎΡΡ‚ΡŒ - Π΄ΠΎΠ»Π³ΠΈΠΉ эффСкт ΠΏΡ€ΠΈ сСми (ΠΌΠΎΠΆΠ½ΠΎ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡ‚ΡŒ) Π±ΡƒΠΏΠ°Ρ… с ΠΏΠ°ΡƒΠ·Π°ΠΌΠΈ ΠΌΠ΅ΠΆΠ΄Ρƒ Π½ΠΈΠΌΠΈ ΠΌΠ΅Π½Π΅Π΅ Π΄Π²ΡƒΡ… сСкунд.
// ΠœΠΎΡ€Π³Π°Π½ΠΈΠ΅ - ΠΊΠΎΡ€ΠΎΡ‚ΠΊΠΈΠΉ эффСкт Ρ€Π°Π· Π² нСсколько сСкунд.
// ΠžΡ‚ΠΊΡ€Ρ‹Ρ‚ΠΈΠ΅ Ρ€Ρ‚Π° зависит ΠΎΡ‚ сигнала с ΠΌΠΈΠΊΡ€ΠΎΡ„ΠΎΠ½Π°.

#include <Adafruit_GFX.h> //Π½Π΅ΠΎΠ±Ρ…ΠΎΠ΄ΠΈΠΌΠΎ ΡƒΡΡ‚Π°Π½ΠΎΠ²ΠΈΡ‚ΡŒ
#include <Max72xxPanel.h>

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ΠΠΠ‘Π’Π ΠžΠ™ΠšΠ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//                                                                                                                        β•‘
int mod_eye = 1;   // Π“Π»Π°Π·Π°: 3-ΠΏΠΎΠ»ΡƒΠΊΡ€ΡƒΠ³Π»Ρ‹Π΅; 2-Ρ‚Ρ€Π΅ΡƒΠ³ΠΎΠ»ΡŒΠ½Ρ‹Π΅; 1-срСднСС ΠΌΠ΅ΠΆΠ΄Ρƒ 3 ΠΈ 2; 0-ΠΏΡ€ΠΈΡ‰ΡƒΡ€Π΅Π½Π½Ρ‹Π΅                           β•‘
int mod_nose = 0;  // Нос: 1-носяра; 0-Π½ΠΎΠ·Π΄Ρ€ΠΈ                                                                             β•‘
int owo_tm = 8000; // Π”Π»ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎΡΡ‚ΡŒ удивлСния Π² миллисСкундах                                                              β•‘  
int tm_dt = 12000; // Π”Π»ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎΡΡ‚ΡŒ смСрти Π² миллисСкундах                                                              β•‘      
int mod_owo = 2;   // Π£Π΄ΠΈΠ²Π»Π΅Π½ΠΈΠ΅: 2-сСрдСчко; 1-OwO; 0-OwwO                                                                β•‘
int hrt_spd = 600; // Π‘ΠΊΠΎΡ€ΠΎΡΡ‚ΡŒ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ сСрдСчка, Ρ‡Π΅ΠΌ мСньшС число, Ρ‚Π΅ΠΌ быстрСС анимация.                                 β•‘
int mod_zloy = 1;  // Π—Π»ΠΎΡΡ‚ΡŒ: 1-Π·Π»ΠΎΠΉ; 0-агрСссивный                                                                       β•‘
int cnt_kl = 7;    // Число касаний Π΄Π°Ρ‚Ρ‡ΠΈΠΊΠ° для Ρ€Π΅ΠΆΠΈΠΌΠ° смСрти                                                             β•‘
int cnt_z = 4;     // Число касаний Π΄Π°Ρ‚Ρ‡ΠΈΠΊΠ° для Ρ€Π΅ΠΆΠΈΠΌΠ° злости                                                             β•‘
int t = 4;         // Π‘ΠΊΠΎΡ€ΠΎΡΡ‚ΡŒ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ моргания, Ρ‡Π΅ΠΌ мСньшС число, Ρ‚Π΅ΠΌ быстрСС анимация.                                 β•‘
int boop = 2;      // Π¦ΠΈΡ„Ρ€ΠΎΠ²ΠΎΠΉ ΠΏΠΈΠ½, ΠΊ ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠΌΡƒ ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½Π° сСнсорная ΠΊΠ½ΠΎΠΏΠΊΠ°.                                               β•‘
int mic = 7;       // Аналоговый ΠΏΠΈΠ½, ΠΊ ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠΌΡƒ ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ ΠΌΠΈΠΊΡ€ΠΎΡ„ΠΎΠ½.                                                      β•‘
int brt = 10;      // Π―Ρ€ΠΊΠΎΡΡ‚ΡŒ max7219 ΠΎΡ‚ 1 Π΄ΠΎ 15 (ΠŸΡ€ΠΈ Ρ€Π°Π±ΠΎΡ‚Π΅ Π½Π΅ Π½Π° ΠΏΠΎΠ»Π½ΡƒΡŽ ΠΌΠΎΡ‰Π½ΠΎΡΡ‚ΡŒ Π½Π΅ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ ΠΌΠ°Ρ‚Ρ€ΠΈΡ†Ρ‹ ΠΌΠΎΠ³ΡƒΡ‚ ΠΏΠΈΡ‰Π°Ρ‚ΡŒ.        β•‘    
int prg = 560;     // Π—Π½Π°Ρ‡ΠΈΠ½ΠΈΠ΅ сигнала с ΠΏΠΈΠ½Π° mic ΠΏΡ€ΠΈ Π³ΠΎΠ²ΠΎΡ€Π΅Π½ΠΈΠΈ Π²Π±Π»ΠΈΠ·ΠΈ ΠΌΠΈΠΊΡ€ΠΎΡ„ΠΎΠ½Π°, подбираСтся ΡΠΊΡΠΏΠ΅Ρ€Π΅ΠΌΠ΅Π½Ρ‚Π°Π»ΡŒΠ³ΠΎ,           β•‘
//                   ΠΏΡ€ΠΈ большом Π·Π½Π°Ρ‡Π΅Π½ΠΈΠΈ Ρ€ΠΎΡ‚ Π±ΡƒΠ΄Π΅Ρ‚ всСгда Π·Π°ΠΊΡ€Ρ‹Ρ‚, Π° ΠΏΡ€ΠΈ малСньком - ΠΎΡ‚ΠΊΡ€Ρ‹Ρ‚.                              β•‘
//                                                                                                                        β•‘
//   ΠŸΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ ΠΌΠ°Ρ‚Ρ€ΠΈΡ†Ρ‹:                                                                                                 β•‘
//                              VCC  ==>  Vin                                                                             β•‘
//      ~~~~~~~~~~~             GND  ==>  GND             ~~~~~~~~~~~                                                     β•‘
//      I ΠœΠ°Ρ‚Ρ€ΠΈΡ†Π° I        DIN(SDI)  ==>  D11             I Arduino I                                                     β•‘
//      ~~~~~~~~~~~              CS  ==>  D9              ~~~~~~~~~~~                                                     β•‘
//                         CLK(SCL)  ==>  D13                                                                             β•‘
//                                                                                                                        β•‘
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ΠΠΠ‘Π’Π ΠžΠ™ΠšΠ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
int pinCS = 10; // Attach CS to this pin, DIN to MOSI and CLK to SCK (cf http://arduino.cc/en/Reference/SPI )

int numberOfHorizontalDisplays = 1;

int numberOfVerticalDisplays = 1;

int Max72xxPanelmatrix = Max72xxPanel_h (9,11,1); //ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ ΠΌΠ°Ρ‚Ρ€ΠΈΡ†Ρ‹, Ρ‚Ρ€ΠΎΠ³Π°Ρ‚ΡŒ Π½Π° свой страх ΠΈ риск!!!

//ΠΌΠ½ΠΎΠ³ΠΎ ΠΏΠ΅Ρ€Π΅ΠΌΠ΅Π½Π½Ρ‹Ρ…
bool blink;
bool smile;
bool zloy;
bool nos;
int rot;
bool sprite_smile;
int kill;
int x = 0;
int y = 0;
int _PWDC = 0;
bool _gen4I = 0;
bool _gen4O = 0;
unsigned long _gen4P = 0UL;
bool _tim5I = 0;
bool _tim5O = 0;
unsigned long _tim5P = 0UL;
bool _gen3I = 0;
bool _gen3O = 0;
unsigned long _gen3P = 0UL;
bool _trgrt1 = 0;
bool _trgrt1I = 0;
int _swi4;
bool _trgrt4 = 0;
bool _trgrt4I = 0;
bool _trgrt2 = 0;
bool _trgrt2I = 0;
bool _tim4I = 0;
bool _tim4O = 0;
unsigned long _tim4P = 0UL;
bool _gen2I = 0;
bool _gen2O = 0;
unsigned long _gen2P = 0UL;
bool _trgrt5 = 0;
bool _trgrt5I = 0;
bool _swi1;
bool _trgrt3 = 0;
bool _trgrt3I = 0;
bool _count3I = 0;
int _count3_Value = 0;
bool _count3MaxLO = 0;
bool _tim2I = 0;
bool _tim2O = 0;
unsigned long _tim2P = 0UL;
bool _count1I = 0;
bool _count1_SCST = 0;
int _count1_Value = 0;
bool _gen5I = 0;
bool _gen5O = 0;
unsigned long _gen5P = 0UL;
bool _gen1I = 0;
bool _gen1O = 0;
unsigned long _gen1P = 0UL;
bool _tim1I = 0;
bool _tim1O = 0;
unsigned long _tim1P = 0UL;
bool _count2I = 0;
int _count2_Value = 0;
bool _count2MaxLO = 0;
bool _tim3I = 0;
bool _tim3O = 0;
unsigned long _tim3P = 0UL;

void Setup()
{
  pinMode(boop, INPUT); //ΠŸΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π°Π΅ΠΌ ΡΠ΅Π½ΡΠΎΡ€Π½ΡƒΡŽ ΠΊΠ½ΠΎΠΏΠΊΡƒ
  matrix.setIntensity(100); // Π—Π°Π΄Π°Π΅ΠΌ ΡƒΠΊΠ°Π·Π°Π½Π½ΡƒΡŽ ΡΡ€ΠΊΠΎΡΡ‚ΡŒ
  matrix.setRotation(3); // НаправлСниС тСкста 1,2,3,4 // 4 - самоС распространСнноС, Ссли Π½Π΅ Ρ€Π°Π±ΠΎΡ‚Π°Π΅Ρ‚, Ρ‚ΠΎ устанавливаСтС 3 ΠΈ мСняСтС Max72xxPanel matrix = Max72xxPanel(9, 1, 11); Π½Π° Max72xxPanel matrix = Max72xxPanel(9, 11, 1);
  
  //Π΅Ρ‰Π΅ Π½Π΅ΠΌΠ½ΠΎΠΆΠΊΠΎ
  TCCR2A = 0x00;
  TCCR2B =  0x07;
  TIMSK2 = 0x01;
  TCNT2 = 100;
}

                         //дальшС ΠΌΠΎΠΆΠ½ΠΎ Π½Π΅ Π»ΠΈΡΡ‚Π°Ρ‚ΡŒ, Ρ‚Π°ΠΌ Ρ‚ΠΎΠ»ΡŒΠΊΠΎ массивы спрайтов ΠΈ ΠΌΠ½ΠΎΠ³ΠΎ нСпонятных Π°Π»Π³ΠΎΡ€Ρ‚ΠΌΠΎΠ²
 
void loop()
{
  byte n_a[48] = {     //1ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001110,
    0b00011100,
    0b00011000,
    0b00111000,
    0b00110000,
    0b01110000,
    0b01100000,
    0b11100000,
    0b11000000,
    0b11100000,
    0b01110000,
    0b00111000,
    0b00011000,
    0b00001100,
    0b00001100,
    0b00011000,
    0b00111000,
    0b00110000,
    0b01100000,
    0b01100000,
    0b11000000,

    0b11000000,
    0b01100000,
    0b01100000,
    0b00110000,
    0b00111000,
    0b00011000,
    0b00001100,
    0b00001100,
    0b00011000,
    0b00111000,
    0b01110000,
    0b11100000,
    0b11000000,
    0b11100000,
    0b01100000,
    0b01110000,
    0b00110000,
    0b00111000,
    0b00011000,
    0b00011100,
    0b00001110,
    0b00001111,
    0b00001111,
    0b00000110,
  };


  byte n_b[48] = {     //2ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001110,
    0b00011100,
    0b00011000,
    0b00111000,
    0b00110000,
    0b01110000,
    0b01100000,
    0b11100000,
    0b11000000,
    0b11100000,
    0b01110000,
    0b00111000,
    0b00011100,
    0b00001100,
    0b00001100,
    0b00011100,
    0b00111100,
    0b00111000,
    0b01110000,
    0b01110000,
    0b11100000,

    0b11100000,
    0b01110000,
    0b01110000,
    0b00111000,
    0b00111100,
    0b00011100,
    0b00001100,
    0b00001100,
    0b00011100,
    0b00111000,
    0b01110000,
    0b11100000,
    0b11000000,
    0b11100000,
    0b01100000,
    0b01110000,
    0b00110000,
    0b00111000,
    0b00011000,
    0b00011100,
    0b00001110,
    0b00001111,
    0b00001111,
    0b00000110,
  };


  byte n_c[48] = {     //3ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001110,
    0b00011100,
    0b00011000,
    0b00111000,
    0b00110000,
    0b01110000,
    0b01110000,
    0b11100000,
    0b11100000,
    0b11110000,
    0b01111000,
    0b00111100,
    0b00011110,
    0b00001110,
    0b00001110,
    0b00011110,
    0b00111100,
    0b00111100,
    0b01111000,
    0b01110000,
    0b11110000,

    0b11110000,
    0b01110000,
    0b01111000,
    0b00111100,
    0b00111100,
    0b00011110,
    0b00001110,
    0b00001110,
    0b00011110,
    0b00111100,
    0b01111000,
    0b11110000,
    0b11100000,
    0b11100000,
    0b01110000,
    0b01110000,
    0b00110000,
    0b00111000,
    0b00011000,
    0b00011100,
    0b00001110,
    0b00001111,
    0b00001111,
    0b00000110,
  };

  byte n_d[48] = {     //4ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001110,
    0b00011100,
    0b00011100,
    0b00111000,
    0b00111000,
    0b01111000,
    0b01110000,
    0b11110000,
    0b11110000,
    0b11111000,
    0b01111100,
    0b00111110,
    0b00011111,
    0b00001111,
    0b00001111,
    0b00011110,
    0b00111110,
    0b00111100,
    0b01111100,
    0b01111000,
    0b11111000,

    0b11111000,
    0b01111000,
    0b01111100,
    0b00111100,
    0b00111110,
    0b00011110,
    0b00001111,
    0b00001111,
    0b00011111,
    0b00111110,
    0b01111100,
    0b11111000,
    0b11110000,
    0b11110000,
    0b01110000,
    0b01111000,
    0b00111000,
    0b00111000,
    0b00011100,
    0b00011100,
    0b00001110,
    0b00001111,
    0b00001111,
    0b00000110,
  
  };

  byte n_e[88] = {     //5ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001111,
    0b00011110,
    0b00011110,
    0b00111100,
    0b00111100,
    0b01111100,
    0b01111000,
    0b11111000,
    0b11111000,
    0b11111100,
    0b01111110,
    0b00111111,
    0b00011111,
    0b00001111,
    0b00001111,
    0b00011111,
    0b00111111,
    0b00111110,
    0b01111110,
    0b01111110,
    0b11111100,

    0b11111100,
    0b01111110,
    0b01111110,
    0b00111110,
    0b00111111,
    0b00011111,
    0b00001111,
    0b00001111,
    0b00011111,
    0b00111111,
    0b01111110,
    0b11111100,
    0b11111000,
    0b11111000,
    0b01111000,
    0b01111100,
    0b00111100,
    0b00111100,
    0b00011110,
    0b00011110,
    0b00001111,
    0b00001111,
    0b00001111,
    0b00000110,

    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b01110000,   
    0b11111000,
    0b11111100, 
    0b01111110,
    0b00111111,   
    0b01111110,
    0b11111100,   
    0b11111000,
    0b01110000,   
    0b00000000,
    0b00000000, 
    
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000, 

    0b00000000,
    0b00000000,   
    0b01110000,   
    0b11111000,
    0b11111100, 
    0b01111110,
    0b00111111,   
    0b01111110,
    0b11111100,   
    0b11111000,
    0b01110000,  
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000, 
  };

  byte o_a[88] = {  //owo-Ρ€ΠΎΡ‚
    0b00000001,
    0b00000001,
    0b00000010,
    0b00000010,
    0b00000100,
    0b00000100,
    0b00001000,
    0b00001000,
    0b00010000,
    0b00010000,
    0b00100000,
    0b00100000,
    0b01000000,
    0b01000000,
    0b10000000,
    0b10000000,
    0b01000000,
    0b01000000,
    0b00100000,
    0b00100000,
    0b00010000,
    0b00010000,
    0b00001000,
    0b00001000,

    0b00001000,
    0b00001000,
    0b00010000,
    0b00010000,
    0b00100000,
    0b00100000,
    0b01000000,
    0b01000000,
    0b10000000,
    0b10000000,
    0b01000000,
    0b01000000,
    0b00100000,
    0b00100000,
    0b00010000,
    0b00010000,
    0b00001000,
    0b00001000,
    0b00000100,
    0b00000100,
    0b00000010,
    0b00000010,
    0b00000001,
    0b00000001,

    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00111000,
    0b01111100, 
    0b01111110,
    0b00111111,   
    0b01111110,
    0b01111100,   
    0b00111000,
    0b00000000,   
    0b00000000,
    0b00000000, 
    
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000, 

    0b00000000,
    0b00000000,   
    0b00000000,   
    0b00111000,
    0b01111100, 
    0b01111110,
    0b00111111,   
    0b01111110,
    0b01111100,   
    0b00111000,
    0b00000000, 
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,     
  };

  byte o_b[88] = {  //owwo-Ρ€ΠΎΡ‚ ΠΈ Π·Π»Ρ‹Π΅ Π³Π»Π°Π·Π°
    0b00000001,
    0b00000001,
    0b00000010,
    0b00000100,
    0b00000100,
    0b00001000,
    0b00010000,
    0b00010000,
    0b00100000,
    0b01000000,
    0b01000000,
    0b10000000,
    0b01000000,
    0b00100000,
    0b00010000,
    0b00001000,
    0b00000100,
    0b00001000,
    0b00010000,
    0b00100000,
    0b01000000,
    0b10000000,
    0b01000000,
    0b00100000,

    0b00100000,
    0b01000000,
    0b10000000,
    0b01000000,
    0b00100000,
    0b00010000,
    0b00001000,
    0b00000100,
    0b00001000,
    0b00010000,
    0b00100000,
    0b01000000,
    0b10000000,
    0b01000000,
    0b01000000,
    0b00100000,
    0b00010000,
    0b00010000,
    0b00001000,
    0b00000100,
    0b00000100,
    0b00000010,
    0b00000001,
    0b00000001,

    0b00000000,
    0b00000000,  
    0b01100000,    
    0b11110000,   
    0b11110000, 
    0b11111000,
    0b11111000, 
    0b11111000,     
    0b11111001, 
    0b11111011,
    0b11111011,   
    0b11111011, 
    0b01111011,
    0b01111011,   
    0b01111010,
    0b00110000,    

    0b10000000,
    0b11000000,
    0b11000000,
    0b11111000,
    0b11111000,
    0b11000000,
    0b11000000,
    0b10000000,

    0b00110000,
    0b01111010,  
    0b01111011,
    0b01111011,    
    0b11111011,
    0b11111011,   
    0b11111011,
    0b11111001,  
    0b11111000,
    0b11111000,    
    0b11111000,    
    0b11110000,   
    0b11110000,
    0b01100000,  
    0b00000000,
    0b00000000,    
  };
  

  byte z_a[88] = {  //Π·Π»ΠΎΠΉ Ρ€ΠΎΡ‚ ΠΈ агрСссивныС Π³Π»Π°Π·Π°
    0b00110000,
    0b00111000,
    0b00011000,
    0b00011000,
    0b00011000,
    0b00011100,
    0b00001100,
    0b00001100,
    0b00001100,
    0b00001110,
    0b00000110,
    0b00000110,
    0b00000110,
    0b00000111,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000111,
    0b00001110,
    0b00011100,
    0b00111000,
    0b01110000,
    0b11100000,
    0b11000000,

    0b11000000,
    0b11100000,
    0b01110000,
    0b00111000,
    0b00011100,
    0b00001110,
    0b00000111,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000111,
    0b00000110,
    0b00000110,
    0b00000110,
    0b00001110,
    0b00001100,
    0b00001100,
    0b00001100, 
    0b00011100,
    0b00011000,
    0b00011000,
    0b00011000,
    0b00111000,           
    0b00110000,

    0b00000000,
    0b00000000,
    0b01110000,
    0b11111000,
    0b11111100,
    0b01111100,
    0b00111110,
    0b00011110,
    0b00011111,
    0b00001111,
    0b10001111,
    0b10000111,
    0b01000111,
    0b01000111,  
    0b00100011,
    0b00100000,   

    0b10000000,
    0b11000000,
    0b11000000,
    0b11111000,
    0b11111000,
    0b11000000,
    0b11000000,
    0b10000000,

    0b00100000,
    0b00100011,
    0b01000111,
    0b01000111,
    0b10000111,
    0b10001111,
    0b00001111,
    0b00011111,
    0b00011110,
    0b00111110,
    0b01111100,
    0b11111100,
    0b11111000,
    0b01110000,
    0b00000000,
    0b00000000,    
  };
   byte k[88] = {     //1ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00110000,
    0b00110000,
    0b00011000,
    0b00011000,
    0b00011000,
    0b00001100,
    0b00001100,
    0b00001100,
    0b00001100,
    0b00000110,
    0b00000110,
    0b00000110,
    0b00000110,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000110,
    0b00001100,
    0b00011000,
    0b00110000,
    0b01100000,
    0b11000000,

    0b11000000,
    0b01100000,
    0b00110000,
    0b00011000,
    0b00001100,
    0b00000110,
    0b00000011,
    0b00001111,
    0b00110011,
    0b01000011,
    0b10110111,
    0b10000110,
    0b01111110,
    0b00000110,
    0b00000110,
    0b00001100,
    0b00001100,
    0b00001100, 
    0b00001100,
    0b00011000,
    0b00011000,
    0b00011000,
    0b00110000,           
    0b00110000,

    0b00000000,  
    0b00000000,
    0b00000000,  
    0b00000000,
    0b00000000,  
    0b10000001,
    0b01000010,   
    0b00100100,
    0b00011000,  
    0b00011000,
    0b00100100,  
    0b01000010,
    0b10000001,  
    0b00000000,
    0b00000000,   
    0b00000000,

    0b00000000,
    0b00000000,  
    0b00000000,
    0b00000000,  
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,  

    0b00000000,  
    0b00000000,
    0b00000000,  
    0b10000001,
    0b01000010,   
    0b00100100,
    0b00011000,  
    0b00011000,
    0b00100100,  
    0b01000010,
    0b10000001,  
    0b00000000,
    0b00000000,   
    0b00000000,
    0b00000000,   
    0b00000000,       
  }; 
                                                //дальшС Π½ΠΈΡ‡Π΅Π³ΠΎ Π½Π΅Ρ‚ Ρ‚Ρ€ΠΎΠ³Π°Ρ‚ΡŒ, ΠΎΡ‚ΡŠ3Π±Π½Ρ‘Ρ‚ всё ΠΈ ΠΏΠΎΠ»Π½ΠΎΡΡ‚ΡŒΡŽ! 
                                                //Π΄Π° ΠΈ Π²ΠΎΠΎΠ±Ρ‰Π΅ дальшС Π½Π΅Ρ‡Π΅Π³ΠΎ Π½Π°ΡΡ‚Ρ€Π°ΠΈΠ²Π°Ρ‚ΡŒ, листай ΠΎΠ±Ρ€Π°Ρ‚Π½ΠΎ.
    _PWDC = 0;
    //ΠŸΠ»Π°Ρ‚Π°:1
    if (((analogRead (7))) > (prg))
    {
         if (_tim1I) 
        {
             if (_isTimer(_tim1P, 50)) 
            {
                _tim1O = 1;
            }
        }
         else 
        {
            _tim1I =1;
            _tim1P = millis();
        }
    }
     else 
    {
        _tim1O = 0;
        _tim1I = 0;
    }
    if (_tim1O) 
    {
         if (! _gen3I) 
        {
            _gen3I = 1;
            _gen3O = 1;
            _gen3P = millis();
        }
    }
     else 
    {
        _gen3I = 0 ;
        _gen3O= 0;
    }
    if (_gen3I) 
    {
          if (_isTimer (_gen3P , 15)) 
        {
             _gen3P = millis();
            _gen3O = ! _gen3O;
        }
    }
    if (!(_tim1O)) 
    {
         if (! _gen1I) 
        {
            _gen1I = 1;
            _gen1O = 1;
            _gen1P = millis();
        }
    }
     else 
    {
        _gen1I = 0 ;
        _gen1O= 0;
    }
    if (_gen1I) 
    {
          if (_isTimer (_gen1P , 10)) 
        {
             _gen1P = millis();
            _gen1O = ! _gen1O;
        }
    }
    if (_gen3O)
    {
        if (! _count1I) 
        {
            _count1I = 1;
            if(_count1_Value < 4) 
            {
                _count1_Value = _count1_Value + 1;
            }
        }
    }
     else 
    {
        _count1I = 0;
    }
    if (_gen1O)
    {
        if (! _count1_SCST) 
        {
            _count1_SCST = 1;
            if(_count1_Value > 0) 
            {
                _count1_Value = _count1_Value - 1;
            }
        }
    }
     else 
    {
        _count1_SCST = 0;
    }
    if((digitalRead (2))) 
    {
        _tim5O = 1;
        _tim5I = 1;
    }
     else 
    {
         if(_tim5I) 
        {
            _tim5I = 0;
            _tim5P = millis();
        }
         else 
        {
             if (_tim5O) 
            {
                if (_isTimer(_tim5P, 3000)) _tim5O = 0;
            }
        }
    }
    if (!(_tim5O)) 
    {
         if (_trgrt4I) 
        {
             _trgrt4 = 0;
        }
         else 
        {
            _trgrt4 = 1;
            _trgrt4I = 1;
        }
    }
     else 
    {
        _trgrt4 = 0;
        _trgrt4I = 0;
    }
    ;
    if (_trgrt4)
    {
        _count2_Value = 0;
    }
     else 
    {
        if ((digitalRead (2)))
        {
            if (! _count2I) 
            {
                _count2I = 1;
                _count2_Value = _count2_Value + 1;
            }
        }
         else 
        {
            _count2I = 0;
        }
    }
    _count2MaxLO = _count2_Value >= cnt_kl;
    if(_count2MaxLO) 
    {
        _tim2O = 1;
        _tim2I = 1;
    }
     else 
    {
         if(_tim2I) 
        {
            _tim2I = 0;
            _tim2P = millis();
        }
         else 
        {
             if (_tim2O) 
            {
                if (_isTimer(_tim2P, tm_dt)) _tim2O = 0;
            }
        }
    }
    if (!(0)) 
    {
         if (_trgrt1I) 
        {
             _trgrt1 = 0;
        }
         else 
        {
            _trgrt1 = 1;
            _trgrt1I = 1;
        }
    }
     else 
    {
        _trgrt1 = 0;
        _trgrt1I = 0;
    }
    ;
    if (_trgrt4)
    {
        _count3_Value = 0;
    }
     else 
    {
        if ((digitalRead (2)))
        {
            if (! _count3I) 
            {
                _count3I = 1;
                _count3_Value = _count3_Value + 1;
            }
        }
         else 
        {
            _count3I = 0;
        }
    }
    _count3MaxLO = _count3_Value >= cnt_z;
    if(_count3MaxLO) 
    {
        _tim3O = 1;
        _tim3I = 1;
    }
     else 
    {
         if(_tim3I) 
        {
            _tim3I = 0;
            _tim3P = millis();
        }
         else 
        {
             if (_tim3O) 
            {
                if (_isTimer(_tim3P, 8000)) _tim3O = 0;
            }
        }
    }
    if((((digitalRead (2))) && (!(_tim3O)))) 
    {
        _tim4O = 1;
        _tim4I = 1;
    }
     else 
    {
         if(_tim4I) 
        {
            _tim4I = 0;
            _tim4P = millis();
        }
         else 
        {
             if (_tim4O) 
            {
                if (_isTimer(_tim4P, 6000)) _tim4O = 0;
            }
        }
    }
    if (!(_tim4O)) 
    {
         if (_trgrt3I) 
        {
             _trgrt3 = 0;
        }
         else 
        {
            _trgrt3 = 1;
            _trgrt3I = 1;
        }
    }
     else 
    {
        _trgrt3 = 0;
        _trgrt3I = 0;
    }
    ;
    if (!(((_tim4O) || (_tim3O) || (_tim2O)))) 
    {
        if (! _gen5I) 
        {
            _gen5I = 1;
            _gen5O = 1;
            _gen5P =  millis();
        }
    }
     else 
    {
        _gen5I = 0 ;
        _gen5O= 0;
    }
     if (_gen5I) 
    {
         if (_gen5O) 
        {
             if (_isTimer(_gen5P , 80)) 
            {
                 _gen5P = millis();
                _gen5O = 0;
            }
        }
         else  
        {
             if (_isTimer(_gen5P , 6000)) 
            {
                  _gen5P = millis();
                _gen5O = 1;
            }
        }
    }
    if (!(_tim3O)) 
    {
         if (_trgrt2I) 
        {
             _trgrt2 = 0;
        }
         else 
        {
            _trgrt2 = 1;
            _trgrt2I = 1;
        }
    }
     else 
    {
        _trgrt2 = 0;
        _trgrt2I = 0;
    }
    ;
    if (_tim2O) 
    {
         if (_trgrt5I) 
        {
             _trgrt5 = 0;
        }
         else 
        {
            _trgrt5 = 1;
            _trgrt5I = 1;
        }
    }
     else 
    {
        _trgrt5 = 0;
        _trgrt5I = 0;
    }
    ;
    if(!(((_tim4O) || (_tim3O) || (_tim2O))))
    {
        _swi1=((_trgrt1) || (_gen5O) || (_trgrt2) || (_trgrt3) || (_trgrt5));
    }
    else
    {
        _swi1=0;
    }
    if (1) 
    {
        if (! _gen2I) 
        {
            _gen2I = 1;
            _gen2O = 1;
            _gen2P =  millis();
        }
    }
     else 
    {
        _gen2I = 0 ;
        _gen2O= 0;
    }
     if (_gen2I) 
    {
         if (_gen2O) 
        {
             if (_isTimer(_gen2P , 2000)) 
            {
                 _gen2P = millis();
                _gen2O = 0;
            }
        }
         else  
        {
             if (_isTimer(_gen2P , 1000)) 
            {
                  _gen2P = millis();
                _gen2O = 1;
            }
        }
    }
    if (1) 
    {
         if (! _gen4I) 
        {
            _gen4I = 1;
            _gen4O = 1;
            _gen4P = millis();
        }
    }
     else 
    {
        _gen4I = 0 ;
        _gen4O= 0;
    }
    if (_gen4I) 
    {
          if (_isTimer (_gen4P , 1001)) 
        {
             _gen4P = millis();
            _gen4O = ! _gen4O;
        }
    }
    if(((_tim3O) || (_tim2O)))
    {
        _swi4=7;
    }
    else
    {
        _swi4=_count1_Value;
    }
    blink = _swi1;   //ΠΌΠΎΠ³Ρ€Π°Π½ΠΈΠ΅ 0-1
    smile = _tim4O; //owo 0-1
    zloy = _tim3O; //-Π·Π»ΠΎΡΡ‚ΡŒ 0-1
    nos = _gen2O; //-анимация носа 0-1
    rot = _swi4; //-ΠΎΡ‚ΠΊΡ€Ρ‹Ρ‚ΠΈΠ΅ Ρ€Ρ‚Π° 0-4
    sprite_smile = _gen4O;
    kill = _tim2O;    

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Π’Ρ‹ мСня ΡΠ»ΡƒΡˆΠ°Π΅ΡˆΡŒ?? НС Π΄Π΅Π»Π°ΠΉ этого!

  if (blink == HIGH & mod_eye == 3)
  {
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    matrix.write();
    delay(t);
    delay(t);
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  Π­ΠΉ...? Π― сказал Π½Π΅ спускайся Π²Π½ΠΈΠ·!


    for (int y = 74; y < 86; y++){
      matrix.drawPixel(4, y, HIGH);
    }
    for (int y = 50; y < 62; y++){
      matrix.drawPixel(4, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 87; y++){
      matrix.drawPixel(3, y, HIGH);
    }
    for (int y = 49; y < 63; y++){
      matrix.drawPixel(3, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 75; y < 85; y++){
      matrix.drawPixel(5, y, HIGH);
    }
    for (int y = 51; y < 61; y++){
      matrix.drawPixel(5, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 87; y++){
      matrix.drawPixel(2, y, HIGH);
    }
    for (int y = 49; y < 63; y++){
      matrix.drawPixel(2, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 76; y < 84; y++){
      matrix.drawPixel(6, y, HIGH);
    }
    for (int y = 52; y < 60; y++){
      matrix.drawPixel(6, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++){
      matrix.drawPixel(1, y, HIGH);
    }
    for (int y = 48; y < 64; y++){
      matrix.drawPixel(1, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 78; y < 82; y++){
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 54; y < 58; y++){
      matrix.drawPixel(7, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++){
      matrix.drawPixel(0, y, HIGH);
    }

    for (int y = 48; y < 64; y++){
      matrix.drawPixel(0, y, HIGH);
    }
    matrix.write();
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ΠžΡΡ‚Π°Π½ΠΎΠ²ΠΈΡΡŒ!ΠΜΆΜšΝΜ’Μ¬Π΅Μ·ΜΜ†Ν… ΜΈΝ Μ©ΜΉΠ΄Μ΄Μ‰Μ­Π΅ΜΈΝ‘ΝΜ˜ΝΠ»Μ·Μ‹ΝΜΉΠ°ΜΆΝ‚Ν”ΠΉΜ΅ΝΝ‹Ν™ ̡͙͂́Μ₯ΡΜ·ΜΝ Μ©Ρ‚Μ΅ΜΜŒΝœΠΎΜΈΝΝ‰Μ­Π³Μ·Ν˜Μ₯Μ—ΠΎΜ΄Μ›Μ³Ν™!Μ·Ν€Μ•Μ¬

  if (blink == HIGH & mod_eye == 2)
  {
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    matrix.write();
    delay(t);
    delay(t);
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Π’Ρ‹ Π΄ΠΎ сих ΠΏΠΎΡ€ ΡƒΠΏΡ€ΡΠΌΠΈΡˆΡŒΡΡ ΠΈ Π½Π΅ ΡΠ»ΡƒΡˆΠ°Π΅ΡˆΡŒ мСня ...



    for (int y = 74; y < 84; y++){
      matrix.drawPixel(4, y, HIGH);
    }
    for (int y = 52; y < 62; y++){
      matrix.drawPixel(4, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 74; y < 82; y++){
      matrix.drawPixel(3, y, HIGH);
    }
    for (int y = 54; y < 62; y++){
      matrix.drawPixel(3, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 85; y++){
      matrix.drawPixel(5, y, HIGH);
    }
    for (int y = 51; y < 63; y++){
      matrix.drawPixel(5, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 75; y < 81; y++){
      matrix.drawPixel(2, y, HIGH);
    }
    for (int y = 55; y < 61; y++){
      matrix.drawPixel(2, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 87; y++){
      matrix.drawPixel(6, y, HIGH);
    }
    for (int y = 49; y < 64; y++){
      matrix.drawPixel(6, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 76; y < 79; y++){
      matrix.drawPixel(1, y, HIGH);
    }
    for (int y = 57; y < 60; y++){
      matrix.drawPixel(1, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++){
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 48; y < 64; y++){
      matrix.drawPixel(7, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 76; y < 78; y++){
      matrix.drawPixel(0, y, HIGH);
    }

    for (int y = 58; y < 60; y++){
      matrix.drawPixel(0, y, HIGH);
    }
    matrix.write();
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ΠŸΡ€ΠΎΡΡ‚ΠΎ ΠΏΠΎΡΠ»ΡƒΡˆΠ°ΠΉ! ...Π½ΜΆΠ΅ΜΆ ̷с̴п̴у̡с̢к̸а̸й̡с̢я̡ Μ΅Π²ΜΆΠ½Μ΄ΠΈΜ΄Π·Μ΄!Μ΅

  if (blink == HIGH & mod_eye == 1)
  {
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    matrix.write();
    delay(t);
    delay(t);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, Ρ‚Ρ‹ моТСшь просто мСня ΠΏΠΎΡΠ»ΡƒΡˆΠ°Ρ‚ΡŒΡΡ??


    for (int y = 73; y < 86; y++){
      matrix.drawPixel(4, y, HIGH);
    }
    for (int y = 50; y < 63; y++){
      matrix.drawPixel(4, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 85; y++){
      matrix.drawPixel(3, y, HIGH);
    }
    for (int y = 51; y < 63; y++){
      matrix.drawPixel(3, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 87; y++){
      matrix.drawPixel(5, y, HIGH);
    }
    for (int y = 49; y < 64; y++){
      matrix.drawPixel(5, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 74; y < 84; y++){
      matrix.drawPixel(2, y, HIGH);
    }
    for (int y = 52; y < 62; y++){
      matrix.drawPixel(2, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++){
      matrix.drawPixel(6, y, HIGH);
    }
    for (int y = 48; y < 64; y++){
      matrix.drawPixel(6, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 75; y < 83; y++){
      matrix.drawPixel(1, y, HIGH);
    }
    for (int y = 53; y < 61; y++){
      matrix.drawPixel(1, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++){
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 48; y < 64; y++){
      matrix.drawPixel(7, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 77; y < 81; y++){
      matrix.drawPixel(0, y, HIGH);
    }

    for (int y = 55; y < 59; y++){
      matrix.drawPixel(0, y, HIGH);
    }
    matrix.write();
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Если ΠΏΡ€ΠΎΠ΄ΠΎΠ»ΠΆΠΈΡˆΡŒ ΡΠΏΡƒΡΠΊΠ°Ρ‚ΡŒΡΡ - я Π½Π΅ Ρ…ΠΎΡ‡Ρƒ тСбя Π·Π½Π°Ρ‚ΡŒ.

  if (blink == HIGH & mod_eye == 0)
  {
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    matrix.write();
    delay(t);
    delay(t);

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  Π›Π°Π΄Π½ΠΎ, Π½Π΅ Π±ΡƒΠ΄Ρƒ ΠΏΠΎΠ²Ρ‚ΠΎΡ€ΡΡ‚ΡŒ ΠΎΠ΄Π½ΠΎ ΠΈ Ρ‚ΠΎ ΠΆΠ΅ .. ΠŸΡ€ΠΎΡΡ‚ΠΎ н̴̫͋С̸̝̍ ̴̧̐д̡̙̇С̸̛̗л̴̳̅а̢̭̕й̴͍͝ Μ΅ΝŒΜ¬ΡΜ΅Μ‚ΜΊΡ‚ΜΆΝ‘Μ™ΠΎΜΆΝŒΝœΠ³ΜΈΜšΜͺΠΎΜΆΝ‘Μž

    for (int y = 74; y < 87; y++) {
      matrix.drawPixel(4, y, HIGH);
    }

    for (int y = 49; y < 62; y++) {
      matrix.drawPixel(4, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 87; y++) {
      matrix.drawPixel(3, y, HIGH);
    }

    for (int y = 49; y < 63; y++) {
      matrix.drawPixel(3, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 75; y < 86; y++) {
      matrix.drawPixel(5, y, HIGH);
    }

    for (int y = 50; y < 61; y++) {
      matrix.drawPixel(5, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 77; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    for (int y = 83; y < 88; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    for (int y = 48; y < 53; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    for (int y = 59; y < 64; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 76; y < 85; y++) {
      matrix.drawPixel(6, y, HIGH);
    }

    for (int y = 51; y < 60; y++) {
      matrix.drawPixel(6, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 75; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    for (int y = 84; y < 88; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    for (int y = 48; y < 52; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    for (int y = 61; y < 64; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 77; y < 83; y++) {
      matrix.drawPixel(7, y, HIGH);
    }

    for (int y = 53; y < 58; y++) {
      matrix.drawPixel(7, y, HIGH);
    }

    matrix.write();
    delay(t);

    matrix.drawPixel(0, 73, HIGH);
    matrix.drawPixel(0, 85, HIGH);
    matrix.drawPixel(0, 86, HIGH);

    matrix.drawPixel(0, 49, HIGH);
    matrix.drawPixel(0, 50, HIGH);
    matrix.drawPixel(0, 62, HIGH);

    matrix.write();
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    Π”Π° Π½Ρƒ Π±Ρ€ΠΎΡΡŒ!!! Π’Ρ‹ это ΡΠ΅Ρ€ΡŒΠ΅Π·Π½ΠΎ?!

  if (nos == HIGH & mod_nose == 0) //ΠΏΠ΅Ρ€Π²Ρ‹ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ носа
  {
    for (int y = 70; y < 72; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 64; y < 66; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    matrix.drawPixel(6, 70, LOW);
    matrix.drawPixel(6, 65, LOW);

    matrix.write();
  }
  if (nos == LOW & mod_nose == 0)  //Π²Ρ‚ΠΎΡ€ΠΎΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ носа
  {
    matrix.drawPixel(6, 70, HIGH);
    matrix.drawPixel(6, 65, HIGH);
    matrix.write();
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     НС Π½Π°Π΄ΠΎΠ΅Π»ΠΎ Π΅Ρ‰Π΅?

  if (nos == HIGH & mod_nose == 1) //ΠΏΠ΅Ρ€Π²Ρ‹ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ носа
  {
    for (int y = 64; y < 72; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 65; y < 71; y++) {
      matrix.drawPixel(6, y, HIGH);
    }
    matrix.drawPixel(5, 68, HIGH);
    matrix.drawPixel(5, 67, HIGH);
    matrix.drawPixel(4, 68, HIGH);
    matrix.drawPixel(4, 67, HIGH);
    matrix.drawPixel(3, 68, HIGH);
    matrix.drawPixel(3, 67, HIGH);

    matrix.write();
  }
  if (nos == LOW & mod_nose == 1)  //Π²Ρ‚ΠΎΡ€ΠΎΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ носа
  {
    matrix.drawPixel(6, 65, LOW);
    matrix.drawPixel(6, 70, LOW);
    matrix.write();
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  Π”Π°ΡŽ послСдний шанс .. НС спускайся дальшС ..

  if (smile  == HIGH & zloy  == LOW & mod_owo == 1) {

    for (int y = 72; y < 88; y++) {
      for (int x = 0; x < 8; x++) {
        matrix.drawPixel(x, y, LOW);
      }
    }

    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 76, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 83, HIGH);
    }

    matrix.drawPixel(6, 77, HIGH);
    matrix.drawPixel(6, 82, HIGH);
    matrix.drawPixel(1, 77, HIGH);
    matrix.drawPixel(1, 82, HIGH);

    matrix.write();

    //

    for (int y = 48; y < 64; y++) {
      for (int x = 0; x < 8; x++) {
        matrix.drawPixel(x, y, LOW);
      }
    }

    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 59, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 52, HIGH);
    }

    matrix.drawPixel(6, 53, HIGH);
    matrix.drawPixel(6, 58, HIGH);
    matrix.drawPixel(1, 53, HIGH);
    matrix.drawPixel(1, 58, HIGH);

    matrix.write();

    //

    for (int y = 0; y < 48; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_a[y] & (1 << x));
      }
    }
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ну Π»Π°Π΄Π½ΠΎ .. Π½Π΅ послСднй .. Π”Π°ΡŽ Π΅Ρ‰Π΅ ΠΎΠ΄ΠΈΠ½

  if (smile  == HIGH & zloy  == LOW & mod_owo == 0) {

    for (int y = 72; y < 88; y++) {
      for (int x = 0; x < 8; x++) {
        matrix.drawPixel(x, y, LOW);
      }
    }

    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 76, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 83, HIGH);
    }

    matrix.drawPixel(6, 77, HIGH);
    matrix.drawPixel(6, 82, HIGH);
    matrix.drawPixel(1, 77, HIGH);
    matrix.drawPixel(1, 82, HIGH);

    matrix.write();



    for (int y = 48; y < 64; y++) {
      for (int x = 0; x < 8; x++) {
        matrix.drawPixel(x, y, LOW);
      }
    }

    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 59, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 52, HIGH);
    }

    matrix.drawPixel(6, 53, HIGH);
    matrix.drawPixel(6, 58, HIGH);
    matrix.drawPixel(1, 53, HIGH);
    matrix.drawPixel(1, 58, HIGH);

    matrix.write();

    for (int y = 0; y < 48; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_b[y] & (1 << x));
      }
    }
  }  

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 if (smile  == HIGH & zloy  == LOW & mod_owo == 2 & sprite_smile == 0) {

    

    for (int y = 48; y < 64; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, n_e[y] & (1 << x));
      }
    }

    for (int y = 72; y < 88; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, n_e[y] & (1 << x));
      }
    }    
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 if (smile  == HIGH & zloy  == LOW & mod_owo == 2 & sprite_smile == 1) {

    

    for (int y = 48; y < 64; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_a[y] & (1 << x));
      }
    }

    for (int y = 72; y < 88; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_a[y] & (1 << x));
      }
    }    
  }


//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Π’Ρ‹ ΠΏΡ€Π°Π²Π΄Π° Ρ…ΠΎΡ‡Π΅ΡˆΡŒ ΡƒΠ·Π½Π°Ρ‚ΡŒ Ρ‡Ρ‚ΠΎ Ρ‚Π°ΠΌ Π²Π½ΠΈΠ·Ρƒ? - Π’Π°ΠΌ Π½ΠΈΡ‡Π΅Π³ΠΎ, ΠΏΡ€Π°Π²Π΄Π°, листай ΠΎΠ±Ρ€Π°Ρ‚Π½ΠΎ.
  
  if (kill == 1)
  {
    for (int y = 0; y < 64; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, k[y] & (1 << x));
      }
    }
  
    for (int y = 72; y < 88; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, k[y] & (1 << x));
      }
    }    
  }


//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  

  if (zloy  == HIGH & mod_zloy == 1 & kill == 0)
  {
    for (int y = 0; y < 64; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, z_a[y] & (1 << x));
      }
    }
    for (int y = 72; y < 88; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, z_a[y] & (1 << x));
      }
    }    
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  

  if (zloy  == HIGH & mod_zloy == 0 & kill == 0)
  {
    for (int y = 0; y < 48; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, z_a[y] & (1 << x));
      }
    }
    for (int y = 48; y < 64; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, o_b[y] & (1 << x));
      }
    }
    for (int y = 72; y < 88; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, o_b[y] & (1 << x));
      }
    }    

    
  }
  
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

  if ((rot  == 0 & smile == LOW) || (rot  == 0 & smile == HIGH & mod_owo == 2))
  {
    for (int y = 0; y < 48; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, n_a[y] & (1 << x));
      }
    }
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

  if ((rot  == 1 & smile == LOW) || (rot  == 1 & smile == HIGH & mod_owo == 2))
  {
    for (int y = 0; y < 48; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, n_b[y] & (1 << x));
      }
    }
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
  
  if ((rot  == 2 & smile == LOW) || (rot  == 2 & smile == HIGH & mod_owo == 2))
  {
    for (int y = 0; y < 48; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, n_c[y] & (1 << x));
      }
    }
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
  
  if ((rot  == 3 & smile == LOW) || (rot  == 3 & smile == HIGH & mod_owo == 2))
  {
    for (int y = 0; y < 48; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, n_d[y] & (1 << x));
      }
    }
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
  
  if ((rot  == 4 & smile == LOW) || (rot  == 4 & smile == HIGH & mod_owo == 2))
  {
    for (int y = 0; y < 48; y++)
    {
      for (int x = 8; x >= 0; x--)
      {
        matrix.drawPixel(x, y, n_e[y] & (1 << x));
      }
    }
  }

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
  
}
bool _isTimer(unsigned long startTime, unsigned long period)
{
  unsigned long currentTime;
  currentTime = millis();
  if (currentTime >= startTime)
  {
    return (currentTime >= (startTime + period));
  }
  else
  {
    return (currentTime >= (4294967295 - startTime + period));
  }
}
ISR(TIMER2_OVF_vect)
{
  TCNT2 = 100;
  if (_PWDC >= 1000)
  {
    asm volatile ("jmp 0x0000");
  }
  else
  {
    _PWDC = _PWDC + 1;
  }
  
}

You added "int" before "Max72xxPanel".
You are missing a space between "Max72xxPanel" and "matrix".
You added an '_h' on to "Max72xxPanel"

I think this will be more likely to work:

Max72xxPanel matrix(9,11,1); //ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ ΠΌΠ°Ρ‚Ρ€ΠΈΡ†Ρ‹, Ρ‚Ρ€ΠΎΠ³Π°Ρ‚ΡŒ Π½Π° свой страх ΠΈ риск!!!
1 Like

this is the error that gave me

In file included from C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:34:0:
C:\Users\scott\OneDrive\Documents\Arduino\libraries\arduino-Max72xxPanel-master/Max72xxPanel.h:31:22: error: an anonymous struct cannot have function members
 class Max72xxPanel_h : public Adafruit_GFX {
                      ^
C:\Users\scott\OneDrive\Documents\Arduino\libraries\arduino-Max72xxPanel-master/Max72xxPanel.h:31:22: error: member 'Adafruit_GFX <unnamed class>::<anonymous>' with constructor not allowed in anonymous aggregate
C:\Users\scott\OneDrive\Documents\Arduino\libraries\arduino-Max72xxPanel-master/Max72xxPanel.h:31:22: error: member 'Adafruit_GFX <unnamed class>::<anonymous>' with copy assignment operator not allowed in anonymous aggregate
C:\Users\scott\OneDrive\Documents\Arduino\libraries\arduino-Max72xxPanel-master/Max72xxPanel.h:115:2: error: abstract declarator '<unnamed class>' used as declaration
 };
  ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:68:1: error: 'Max72xxPanel' does not name a type; did you mean 'Max72xxPanel_h'?
 Max72xxPanel matrix(9,11,1); //ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ ΠΌΠ°Ρ‚Ρ€ΠΈΡ†Ρ‹, Ρ‚Ρ€ΠΎΠ³Π°Ρ‚ΡŒ Π½Π° свой страх ΠΈ риск!!!
 ^~~~~~~~~~~~
 Max72xxPanel_h
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino: In function 'void setup()':
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:136:3: error: 'matrix' was not declared in this scope
   matrix.setIntensity(100); // Π—Π°Π΄Π°Π΅ΠΌ ΡƒΠΊΠ°Π·Π°Π½Π½ΡƒΡŽ ΡΡ€ΠΊΠΎΡΡ‚ΡŒ
   ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:136:3: note: suggested alternative: 'atoi'
   matrix.setIntensity(100); // Π—Π°Π΄Π°Π΅ΠΌ ΡƒΠΊΠ°Π·Π°Π½Π½ΡƒΡŽ ΡΡ€ΠΊΠΎΡΡ‚ΡŒ
   ^~~~~~
   atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino: In function 'void loop()':
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1266:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(7, y, LOW);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1266:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(7, y, LOW);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1269:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(0, y, LOW);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1269:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(0, y, LOW);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1271:5: error: 'matrix' was not declared in this scope
     matrix.write();
     ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1271:5: note: suggested alternative: 'atoi'
     matrix.write();
     ^~~~~~
     atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1418:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(7, y, LOW);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1418:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(7, y, LOW);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1421:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(0, y, LOW);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1421:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(0, y, LOW);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1423:5: error: 'matrix' was not declared in this scope
     matrix.write();
     ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1423:5: note: suggested alternative: 'atoi'
     matrix.write();
     ^~~~~~
     atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1571:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(7, y, LOW);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1571:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(7, y, LOW);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1574:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(0, y, LOW);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1574:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(0, y, LOW);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1576:5: error: 'matrix' was not declared in this scope
     matrix.write();
     ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1576:5: note: suggested alternative: 'atoi'
     matrix.write();
     ^~~~~~
     atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1723:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(7, y, LOW);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1723:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(7, y, LOW);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1726:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(0, y, LOW);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1726:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(0, y, LOW);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1728:5: error: 'matrix' was not declared in this scope
     matrix.write();
     ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1728:5: note: suggested alternative: 'atoi'
     matrix.write();
     ^~~~~~
     atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1899:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(7, y, HIGH);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1899:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(7, y, HIGH);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1902:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(7, y, HIGH);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1902:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(7, y, HIGH);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1904:5: error: 'matrix' was not declared in this scope
     matrix.drawPixel(6, 70, LOW);
     ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1904:5: note: suggested alternative: 'atoi'
     matrix.drawPixel(6, 70, LOW);
     ^~~~~~
     atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1911:5: error: 'matrix' was not declared in this scope
     matrix.drawPixel(6, 70, HIGH);
     ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1911:5: note: suggested alternative: 'atoi'
     matrix.drawPixel(6, 70, HIGH);
     ^~~~~~
     atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1921:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(7, y, HIGH);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1921:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(7, y, HIGH);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1924:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(6, y, HIGH);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1924:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(6, y, HIGH);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1926:5: error: 'matrix' was not declared in this scope
     matrix.drawPixel(5, 68, HIGH);
     ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1926:5: note: suggested alternative: 'atoi'
     matrix.drawPixel(5, 68, HIGH);
     ^~~~~~
     atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1937:5: error: 'matrix' was not declared in this scope
     matrix.drawPixel(6, 65, LOW);
     ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1937:5: note: suggested alternative: 'atoi'
     matrix.drawPixel(6, 65, LOW);
     ^~~~~~
     atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1948:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, LOW);
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1948:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, LOW);
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1953:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(7, y, HIGH);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1953:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(7, y, HIGH);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1956:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(0, y, HIGH);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1956:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(0, y, HIGH);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1959:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(x, 76, HIGH);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1959:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(x, 76, HIGH);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1962:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(x, 83, HIGH);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1962:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(x, 83, HIGH);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1965:5: error: 'matrix' was not declared in this scope
     matrix.drawPixel(6, 77, HIGH);
     ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1965:5: note: suggested alternative: 'atoi'
     matrix.drawPixel(6, 77, HIGH);
     ^~~~~~
     atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2015:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, LOW);
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2015:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, LOW);
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2020:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(7, y, HIGH);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2020:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(7, y, HIGH);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2023:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(0, y, HIGH);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2023:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(0, y, HIGH);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2026:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(x, 76, HIGH);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2026:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(x, 76, HIGH);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2029:7: error: 'matrix' was not declared in this scope
       matrix.drawPixel(x, 83, HIGH);
       ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2029:7: note: suggested alternative: 'atoi'
       matrix.drawPixel(x, 83, HIGH);
       ^~~~~~
       atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2032:5: error: 'matrix' was not declared in this scope
     matrix.drawPixel(6, 77, HIGH);
     ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2032:5: note: suggested alternative: 'atoi'
     matrix.drawPixel(6, 77, HIGH);
     ^~~~~~
     atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2082:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, n_e[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2082:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, n_e[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2088:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, n_e[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2088:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, n_e[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2101:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, o_a[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2101:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, o_a[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2107:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, o_a[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2107:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, o_a[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2121:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, k[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2121:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, k[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2129:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, k[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2129:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, k[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2143:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, z_a[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2143:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, z_a[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2150:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, z_a[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2150:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, z_a[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2163:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, z_a[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2163:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, z_a[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2170:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, o_b[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2170:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, o_b[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2177:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, o_b[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2177:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, o_b[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2192:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, n_a[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2192:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, n_a[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2205:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, n_b[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2205:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, n_b[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2218:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, n_c[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2218:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, n_c[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2231:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, n_d[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2231:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, n_d[y] & (1 << x));
         ^~~~~~
         atoi
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2244:9: error: 'matrix' was not declared in this scope
         matrix.drawPixel(x, y, n_e[y] & (1 << x));
         ^~~~~~
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2244:9: note: suggested alternative: 'atoi'
         matrix.drawPixel(x, y, n_e[y] & (1 << x));
         ^~~~~~
         atoi

exit status 1

Compilation error: 'Max72xxPanel' does not name a type; did you mean 'Max72xxPanel_h'?

What's the difficult to understand what @johnwasser wrote?

 class Max72xxPanel_h

it's difficult to understand since it's my first time not only coding but also using Arduino

I think lack attention from your side.

Look I came to the forums as a last resort, since the creator of the code is unable to respond. I'm trying the best I can with my limited sources, it's not my fault.

You're doing great! Using the forums as a way to debug your code and figuring out what's gone wrong is a great way to improve your skills. Don't take offense from the harsh comments, they're trying to help and I believe they've just forgotten what it's like being completely lost as a beginner.

If this is your first time programming/using arduino I'd suggest maybe starting at something a bit easier. Try to get a grasp of how arduino works. Play around with the language, wire up some weird circuits (doesn't matter whether they work or not. Your arduino is great at not destroying itself) and try to follow what they're doing. Take a good look at each of the example sketches and try to reaaallyy understand what's going on. Try to understand what's the purpose of every digitalWrite(), delay(), void loop(), etc. statement and get a firm grip of the language. Once you understand a little more of what's happening, the compiler errors will start making a lot more sense. Perhaps eventually you'll be able to debug this code yourself and then hopefully you'll see understand what the other commenters have been referring to. Good luck!

Everything needed to go on is on post #4 and #8 just read and pay attention.

I did my best to help you I can't take in your hands.

Great discourse now explain where's the error.

I haven't looked into it myself so that I can't answer. I just noticed someone new to arduino attempting a project perhaps a little too ambitious for what they can manage and wanted to try and provide some support moving forward. No-one gains from newcomers getting demotivated and quitting it all.

1 Like

this is the error I have after the classification, which was my problem from the start

In file included from C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:35:0:
C:\Users\scott\OneDrive\Documents\Arduino\libraries\arduino-Max72xxPanel-master/Max72xxPanel.h:115:2: error: multiple types in one declaration
 };
  ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino: In function 'void setup()':
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:139:9: error: expected primary-expression before '.' token
   matrix.setIntensity(100); // Π—Π°Π΄Π°Π΅ΠΌ ΡƒΠΊΠ°Π·Π°Π½Π½ΡƒΡŽ ΡΡ€ΠΊΠΎΡΡ‚ΡŒ
         ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:140:9: error: expected primary-expression before '.' token
   matrix.setRotation(3); // НаправлСниС тСкста 1,2,3,4 // 4 - самоС распространСнноС, Ссли Π½Π΅ Ρ€Π°Π±ΠΎΡ‚Π°Π΅Ρ‚, Ρ‚ΠΎ устанавливаСтС 3 ΠΈ мСняСтС Max72xxPanel matrix = Max72xxPanel(9, 1, 11); Π½Π° Max72xxPanel matrix = Max72xxPanel(9, 11, 1);
         ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino: In function 'void loop()':
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1269:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1272:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1274:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1277:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1280:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1282:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1285:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1288:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1290:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1293:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1296:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1298:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1301:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1304:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1306:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1309:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1312:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1314:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1317:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1320:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1322:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1325:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1328:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1330:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1337:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1340:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1343:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1347:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1350:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1353:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1357:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1360:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1363:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1367:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1370:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1373:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1377:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1380:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1383:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1387:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1390:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1393:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1397:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1400:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1403:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1407:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1411:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1413:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1421:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1424:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1426:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1429:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1432:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1434:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1437:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1440:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1442:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1445:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1448:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1450:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1453:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1456:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1458:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1461:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1464:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1466:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1469:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1472:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1474:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1477:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1480:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1482:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1490:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1493:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1496:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1500:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1503:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1506:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1510:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1513:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1516:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1520:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1523:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1526:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1530:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1533:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1536:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1540:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1543:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1546:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1550:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1553:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1556:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1560:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1564:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1566:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1574:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1577:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1579:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1582:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1585:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1587:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1590:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1593:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1595:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1598:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1601:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1603:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1606:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1609:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1611:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1614:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1617:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1619:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1622:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1625:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1627:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1630:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1633:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1635:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1642:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1645:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1648:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1652:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1655:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1658:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1662:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1665:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1668:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1672:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1675:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1678:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1682:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1685:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1688:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1692:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1695:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1698:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1702:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1705:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1708:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1712:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1716:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1718:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1726:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1729:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1731:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1734:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1737:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1739:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1742:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1745:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1747:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1750:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1753:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1755:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1758:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1761:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1763:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1766:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1769:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1771:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1774:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1777:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1779:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1782:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1785:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, LOW);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1787:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1794:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1798:13: error: expected primary-expression before '.' token
       matrix.drawPixel(4, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1801:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1805:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1809:13: error: expected primary-expression before '.' token
       matrix.drawPixel(3, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1812:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1816:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1820:13: error: expected primary-expression before '.' token
       matrix.drawPixel(5, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1823:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1827:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1831:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1835:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1839:13: error: expected primary-expression before '.' token
       matrix.drawPixel(2, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1842:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1846:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1850:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1853:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1857:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1861:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1865:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1869:13: error: expected primary-expression before '.' token
       matrix.drawPixel(1, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1872:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1876:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1880:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1883:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1886:11: error: expected primary-expression before '.' token
     matrix.drawPixel(0, 73, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1887:11: error: expected primary-expression before '.' token
     matrix.drawPixel(0, 85, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1888:11: error: expected primary-expression before '.' token
     matrix.drawPixel(0, 86, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1890:11: error: expected primary-expression before '.' token
     matrix.drawPixel(0, 49, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1891:11: error: expected primary-expression before '.' token
     matrix.drawPixel(0, 50, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1892:11: error: expected primary-expression before '.' token
     matrix.drawPixel(0, 62, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1894:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1902:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1905:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1907:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 70, LOW);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1908:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 65, LOW);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1910:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1914:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 70, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1915:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 65, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1916:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1924:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1927:13: error: expected primary-expression before '.' token
       matrix.drawPixel(6, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1929:11: error: expected primary-expression before '.' token
     matrix.drawPixel(5, 68, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1930:11: error: expected primary-expression before '.' token
     matrix.drawPixel(5, 67, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1931:11: error: expected primary-expression before '.' token
     matrix.drawPixel(4, 68, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1932:11: error: expected primary-expression before '.' token
     matrix.drawPixel(4, 67, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1933:11: error: expected primary-expression before '.' token
     matrix.drawPixel(3, 68, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1934:11: error: expected primary-expression before '.' token
     matrix.drawPixel(3, 67, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1936:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1940:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 65, LOW);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1941:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 70, LOW);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1942:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1951:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, LOW);
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1956:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1959:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1962:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 76, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1965:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 83, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1968:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 77, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1969:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 82, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1970:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 77, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1971:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 82, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1973:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1979:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, LOW);
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1984:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1987:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1990:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 59, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1993:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 52, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1996:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 53, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1997:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 58, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1998:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 53, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:1999:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 58, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2001:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2007:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, o_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2018:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, LOW);
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2023:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2026:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2029:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 76, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2032:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 83, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2035:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 77, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2036:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 82, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2037:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 77, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2038:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 82, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2040:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2046:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, LOW);
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2051:13: error: expected primary-expression before '.' token
       matrix.drawPixel(7, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2054:13: error: expected primary-expression before '.' token
       matrix.drawPixel(0, y, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2057:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 59, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2060:13: error: expected primary-expression before '.' token
       matrix.drawPixel(x, 52, HIGH);
             ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2063:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 53, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2064:11: error: expected primary-expression before '.' token
     matrix.drawPixel(6, 58, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2065:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 53, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2066:11: error: expected primary-expression before '.' token
     matrix.drawPixel(1, 58, HIGH);
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2068:11: error: expected primary-expression before '.' token
     matrix.write();
           ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2072:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, o_b[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2085:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_e[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2091:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_e[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2104:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, o_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2110:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, o_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2124:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, k[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2132:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, k[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2146:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, z_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2153:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, z_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2166:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, z_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2173:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, o_b[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2180:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, o_b[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2195:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_a[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2208:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_b[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2221:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_c[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2234:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_d[y] & (1 << x));
               ^
C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:2247:15: error: expected primary-expression before '.' token
         matrix.drawPixel(x, y, n_e[y] & (1 << x));
               ^

exit status 1

Compilation error: expected primary-expression before '.' token

matrix is not defined, because the type is not defined:

C:\Users\scott\Downloads\Mk2_instruction_V1.2\Mk2_instruction_V1.2.ino:68:1: error: 'Max72xxPanel' does not name a type; did you mean 'Max72xxPanel_h'?
 Max72xxPanel matrix(9,11,1); //ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ ΠΌΠ°Ρ‚Ρ€ΠΈΡ†Ρ‹, Ρ‚Ρ€ΠΎΠ³Π°Ρ‚ΡŒ Π½Π° свой страх ΠΈ риск!!!
 ^~~~~~~~~~~~
 Max72xxPanel_h

tells me: the Max72xxPanel.h, as a type, is unknown.

Other problem could be:
you define, but you do not export the variable (or do not declare the type, variable name in file where do you want to use.

Base on your log: I think, the type is unknown (a typo, a wrong H-file included, a missing H-file...)

After finding and installing the right "Max72xxPanel" library:

And correcting the declaration of 'matrix'. And fixing the many places where '&' was used in place of '&&'...

I got this version to compile without errors or warnings for Arduino Mega 2560.

#include <Adafruit_GFX.h>
#include <Adafruit_GrayOLED.h>
#include <Adafruit_SPITFT.h>
#include <Adafruit_SPITFT_Macros.h>
#include <gfxfont.h>

// MK2_instruction_1.1.0 by
//...............................................................................-*-..............................................................................
//.........................................................................-*+=====-..............................................................................
//.............................................................:*++......:=========....+======+..:=================+..............................................
//........................................................:=======+.....:=========+...-=======:.:=======+::----:*==*..............................................
//.......................................................*========*....*==========*...*======+..+======-..........................................................
//......................................................+=========*...+===++======:..-=======:.-==================:...............................................
//....................................................-===++======:..+===::=======-..*=======..*==================:...............................................
//...................................................:===:.=======:-===+..+=======...=======*.-=======......======................................................
//..................................................*===-.-=======*===*..:=======+..:=======-.*======+....-+=====*................................................
//.................................................+==*...:==========-...+=======*..+======+..*=================+.................................................
//...............................................-===:....:********:....:*********----------....---------------...................................................
//..............................................:==+..............................................................................................................
//............................................-+==+...............................................................................................................

// VK: https://vk.com/m16ind
// Twitter: https://twitter.com/M16Studios
// Thingiverse: https://www.thingiverse.com/flortheproto/designs

// Π£Π΄ΠΈΠ²Π»Π΅Π½ΠΈΠ΅ - сСмисСкундный эффСкт ΠΏΡ€ΠΈ сигналС с сСнсорной ΠΊΠ½ΠΎΠΏΠΊΠΈ, Ρ‚ΠΎ биш касании носа.
// Π—Π»ΠΎΡΡ‚ΡŒ - Π΄ΠΎΠ»Π³ΠΈΠΉ эффСкт ΠΏΡ€ΠΈ Ρ‡Π΅Ρ‚Ρ‹Ρ€Ρ‘Ρ… (ΠΌΠΎΠΆΠ½ΠΎ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡ‚ΡŒ) Π±ΡƒΠΏΠ°Ρ… с ΠΏΠ°ΡƒΠ·Π°ΠΌΠΈ ΠΌΠ΅ΠΆΠ΄Ρƒ Π½ΠΈΠΌΠΈ ΠΌΠ΅Π½Π΅Π΅ Π΄Π²ΡƒΡ… сСкунд.
// Π—Π»ΠΎΡΡ‚ΡŒ - Π΄ΠΎΠ»Π³ΠΈΠΉ эффСкт ΠΏΡ€ΠΈ сСми (ΠΌΠΎΠΆΠ½ΠΎ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡ‚ΡŒ) Π±ΡƒΠΏΠ°Ρ… с ΠΏΠ°ΡƒΠ·Π°ΠΌΠΈ ΠΌΠ΅ΠΆΠ΄Ρƒ Π½ΠΈΠΌΠΈ ΠΌΠ΅Π½Π΅Π΅ Π΄Π²ΡƒΡ… сСкунд.
// ΠœΠΎΡ€Π³Π°Π½ΠΈΠ΅ - ΠΊΠΎΡ€ΠΎΡ‚ΠΊΠΈΠΉ эффСкт Ρ€Π°Π· Π² нСсколько сСкунд.
// ΠžΡ‚ΠΊΡ€Ρ‹Ρ‚ΠΈΠ΅ Ρ€Ρ‚Π° зависит ΠΎΡ‚ сигнала с ΠΌΠΈΠΊΡ€ΠΎΡ„ΠΎΠ½Π°.

#include <Adafruit_GFX.h>  //Π½Π΅ΠΎΠ±Ρ…ΠΎΠ΄ΠΈΠΌΠΎ ΡƒΡΡ‚Π°Π½ΠΎΠ²ΠΈΡ‚ΡŒ
#include <Max72xxPanel.h>
const byte pinCS = 9; // Attach CS to this pin, DIN to MOSI and CLK to SCK (cf http://arduino.cc/en/Reference/SPI )
const int numberOfHorizontalDisplays = 11;
const int numberOfVerticalDisplays = 1;
Max72xxPanel matrix = Max72xxPanel(pinCS, numberOfHorizontalDisplays, numberOfVerticalDisplays); //ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ ΠΌΠ°Ρ‚Ρ€ΠΈΡ†Ρ‹, Ρ‚Ρ€ΠΎΠ³Π°Ρ‚ΡŒ Π½Π° свой страх ΠΈ риск!!!


  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ΠΠΠ‘Π’Π ΠžΠ™ΠšΠ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  //                                                                                                                        β•‘
  int mod_eye = 1;  // Π“Π»Π°Π·Π°: 3-ΠΏΠΎΠ»ΡƒΠΊΡ€ΡƒΠ³Π»Ρ‹Π΅; 2-Ρ‚Ρ€Π΅ΡƒΠ³ΠΎΠ»ΡŒΠ½Ρ‹Π΅; 1-срСднСС ΠΌΠ΅ΠΆΠ΄Ρƒ 3 ΠΈ 2; 0-ΠΏΡ€ΠΈΡ‰ΡƒΡ€Π΅Π½Π½Ρ‹Π΅                           β•‘
int mod_nose = 0;   // Нос: 1-носяра; 0-Π½ΠΎΠ·Π΄Ρ€ΠΈ                                                                             β•‘
int owo_tm = 8000;  // Π”Π»ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎΡΡ‚ΡŒ удивлСния Π² миллисСкундах                                                              β•‘
int tm_dt = 12000;  // Π”Π»ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎΡΡ‚ΡŒ смСрти Π² миллисСкундах                                                              β•‘
int mod_owo = 2;    // Π£Π΄ΠΈΠ²Π»Π΅Π½ΠΈΠ΅: 2-сСрдСчко; 1-OwO; 0-OwwO                                                                β•‘
int hrt_spd = 600;  // Π‘ΠΊΠΎΡ€ΠΎΡΡ‚ΡŒ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ сСрдСчка, Ρ‡Π΅ΠΌ мСньшС число, Ρ‚Π΅ΠΌ быстрСС анимация.                                 β•‘
int mod_zloy = 1;   // Π—Π»ΠΎΡΡ‚ΡŒ: 1-Π·Π»ΠΎΠΉ; 0-агрСссивный                                                                       β•‘
int cnt_kl = 7;     // Число касаний Π΄Π°Ρ‚Ρ‡ΠΈΠΊΠ° для Ρ€Π΅ΠΆΠΈΠΌΠ° смСрти                                                             β•‘
int cnt_z = 4;      // Число касаний Π΄Π°Ρ‚Ρ‡ΠΈΠΊΠ° для Ρ€Π΅ΠΆΠΈΠΌΠ° злости                                                             β•‘
int t = 4;          // Π‘ΠΊΠΎΡ€ΠΎΡΡ‚ΡŒ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ моргания, Ρ‡Π΅ΠΌ мСньшС число, Ρ‚Π΅ΠΌ быстрСС анимация.                                 β•‘
int boop = 2;       // Π¦ΠΈΡ„Ρ€ΠΎΠ²ΠΎΠΉ ΠΏΠΈΠ½, ΠΊ ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠΌΡƒ ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½Π° сСнсорная ΠΊΠ½ΠΎΠΏΠΊΠ°.                                               β•‘
int mic = 7;        // Аналоговый ΠΏΠΈΠ½, ΠΊ ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠΌΡƒ ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ ΠΌΠΈΠΊΡ€ΠΎΡ„ΠΎΠ½.                                                      β•‘
int brt = 10;       // Π―Ρ€ΠΊΠΎΡΡ‚ΡŒ max7219 ΠΎΡ‚ 1 Π΄ΠΎ 15 (ΠŸΡ€ΠΈ Ρ€Π°Π±ΠΎΡ‚Π΅ Π½Π΅ Π½Π° ΠΏΠΎΠ»Π½ΡƒΡŽ ΠΌΠΎΡ‰Π½ΠΎΡΡ‚ΡŒ Π½Π΅ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ ΠΌΠ°Ρ‚Ρ€ΠΈΡ†Ρ‹ ΠΌΠΎΠ³ΡƒΡ‚ ΠΏΠΈΡ‰Π°Ρ‚ΡŒ.        β•‘
int prg = 560;      // Π—Π½Π°Ρ‡ΠΈΠ½ΠΈΠ΅ сигнала с ΠΏΠΈΠ½Π° mic ΠΏΡ€ΠΈ Π³ΠΎΠ²ΠΎΡ€Π΅Π½ΠΈΠΈ Π²Π±Π»ΠΈΠ·ΠΈ ΠΌΠΈΠΊΡ€ΠΎΡ„ΠΎΠ½Π°, подбираСтся ΡΠΊΡΠΏΠ΅Ρ€Π΅ΠΌΠ΅Π½Ρ‚Π°Π»ΡŒΠ³ΠΎ,           β•‘
//                   ΠΏΡ€ΠΈ большом Π·Π½Π°Ρ‡Π΅Π½ΠΈΠΈ Ρ€ΠΎΡ‚ Π±ΡƒΠ΄Π΅Ρ‚ всСгда Π·Π°ΠΊΡ€Ρ‹Ρ‚, Π° ΠΏΡ€ΠΈ малСньком - ΠΎΡ‚ΠΊΡ€Ρ‹Ρ‚.                              β•‘
//                                                                                                                        β•‘
//   ΠŸΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ ΠΌΠ°Ρ‚Ρ€ΠΈΡ†Ρ‹:                                                                                                 β•‘
//                              VCC  ==>  Vin                                                                             β•‘
//      ~~~~~~~~~~~             GND  ==>  GND             ~~~~~~~~~~~                                                     β•‘
//      I ΠœΠ°Ρ‚Ρ€ΠΈΡ†Π° I        DIN(SDI)  ==>  D11             I Arduino I                                                     β•‘
//      ~~~~~~~~~~~              CS  ==>  D9              ~~~~~~~~~~~                                                     β•‘
//                         CLK(SCL)  ==>  D13                                                                             β•‘
//                                                                                                                        β•‘
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ΠΠΠ‘Π’Π ΠžΠ™ΠšΠ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

//ΠΌΠ½ΠΎΠ³ΠΎ ΠΏΠ΅Ρ€Π΅ΠΌΠ΅Π½Π½Ρ‹Ρ…
bool blink;
bool smile;
bool zloy;
bool nos;
int rot;
bool sprite_smile;
int kill;
int x = 0;
int y = 0;
int _PWDC = 0;
bool _gen4I = 0;
bool _gen4O = 0;
unsigned long _gen4P = 0UL;
bool _tim5I = 0;
bool _tim5O = 0;
unsigned long _tim5P = 0UL;
bool _gen3I = 0;
bool _gen3O = 0;
unsigned long _gen3P = 0UL;
bool _trgrt1 = 0;
bool _trgrt1I = 0;
int _swi4;
bool _trgrt4 = 0;
bool _trgrt4I = 0;
bool _trgrt2 = 0;
bool _trgrt2I = 0;
bool _tim4I = 0;
bool _tim4O = 0;
unsigned long _tim4P = 0UL;
bool _gen2I = 0;
bool _gen2O = 0;
unsigned long _gen2P = 0UL;
bool _trgrt5 = 0;
bool _trgrt5I = 0;
bool _swi1;
bool _trgrt3 = 0;
bool _trgrt3I = 0;
bool _count3I = 0;
int _count3_Value = 0;
bool _count3MaxLO = 0;
bool _tim2I = 0;
bool _tim2O = 0;
unsigned long _tim2P = 0UL;
bool _count1I = 0;
bool _count1_SCST = 0;
int _count1_Value = 0;
bool _gen5I = 0;
bool _gen5O = 0;
unsigned long _gen5P = 0UL;
bool _gen1I = 0;
bool _gen1O = 0;
unsigned long _gen1P = 0UL;
bool _tim1I = 0;
bool _tim1O = 0;
unsigned long _tim1P = 0UL;
bool _count2I = 0;
int _count2_Value = 0;
bool _count2MaxLO = 0;
bool _tim3I = 0;
bool _tim3O = 0;
unsigned long _tim3P = 0UL;

void Setup() {
  pinMode(boop, INPUT);      //ΠŸΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π°Π΅ΠΌ ΡΠ΅Π½ΡΠΎΡ€Π½ΡƒΡŽ ΠΊΠ½ΠΎΠΏΠΊΡƒ
  matrix.setIntensity(100);  // Π—Π°Π΄Π°Π΅ΠΌ ΡƒΠΊΠ°Π·Π°Π½Π½ΡƒΡŽ ΡΡ€ΠΊΠΎΡΡ‚ΡŒ
  matrix.setRotation(3);     // НаправлСниС тСкста 1,2,3,4 // 4 - самоС распространСнноС, Ссли Π½Π΅ Ρ€Π°Π±ΠΎΡ‚Π°Π΅Ρ‚, Ρ‚ΠΎ устанавливаСтС 3 ΠΈ мСняСтС Max72xxPanel matrix = Max72xxPanel(9, 1, 11); Π½Π° Max72xxPanel matrix = Max72xxPanel(9, 11, 1);

  //Π΅Ρ‰Π΅ Π½Π΅ΠΌΠ½ΠΎΠΆΠΊΠΎ
  TCCR2A = 0x00;
  TCCR2B = 0x07;
  TIMSK2 = 0x01;
  TCNT2 = 100;
}

//дальшС ΠΌΠΎΠΆΠ½ΠΎ Π½Π΅ Π»ΠΈΡΡ‚Π°Ρ‚ΡŒ, Ρ‚Π°ΠΌ Ρ‚ΠΎΠ»ΡŒΠΊΠΎ массивы спрайтов ΠΈ ΠΌΠ½ΠΎΠ³ΠΎ нСпонятных Π°Π»Π³ΠΎΡ€Ρ‚ΠΌΠΎΠ²
void setup() {}

void loop() {
  byte n_a[48] = {
    //1ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001110,
    0b00011100,
    0b00011000,
    0b00111000,
    0b00110000,
    0b01110000,
    0b01100000,
    0b11100000,
    0b11000000,
    0b11100000,
    0b01110000,
    0b00111000,
    0b00011000,
    0b00001100,
    0b00001100,
    0b00011000,
    0b00111000,
    0b00110000,
    0b01100000,
    0b01100000,
    0b11000000,

    0b11000000,
    0b01100000,
    0b01100000,
    0b00110000,
    0b00111000,
    0b00011000,
    0b00001100,
    0b00001100,
    0b00011000,
    0b00111000,
    0b01110000,
    0b11100000,
    0b11000000,
    0b11100000,
    0b01100000,
    0b01110000,
    0b00110000,
    0b00111000,
    0b00011000,
    0b00011100,
    0b00001110,
    0b00001111,
    0b00001111,
    0b00000110,
  };


  byte n_b[48] = {
    //2ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001110,
    0b00011100,
    0b00011000,
    0b00111000,
    0b00110000,
    0b01110000,
    0b01100000,
    0b11100000,
    0b11000000,
    0b11100000,
    0b01110000,
    0b00111000,
    0b00011100,
    0b00001100,
    0b00001100,
    0b00011100,
    0b00111100,
    0b00111000,
    0b01110000,
    0b01110000,
    0b11100000,

    0b11100000,
    0b01110000,
    0b01110000,
    0b00111000,
    0b00111100,
    0b00011100,
    0b00001100,
    0b00001100,
    0b00011100,
    0b00111000,
    0b01110000,
    0b11100000,
    0b11000000,
    0b11100000,
    0b01100000,
    0b01110000,
    0b00110000,
    0b00111000,
    0b00011000,
    0b00011100,
    0b00001110,
    0b00001111,
    0b00001111,
    0b00000110,
  };


  byte n_c[48] = {
    //3ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001110,
    0b00011100,
    0b00011000,
    0b00111000,
    0b00110000,
    0b01110000,
    0b01110000,
    0b11100000,
    0b11100000,
    0b11110000,
    0b01111000,
    0b00111100,
    0b00011110,
    0b00001110,
    0b00001110,
    0b00011110,
    0b00111100,
    0b00111100,
    0b01111000,
    0b01110000,
    0b11110000,

    0b11110000,
    0b01110000,
    0b01111000,
    0b00111100,
    0b00111100,
    0b00011110,
    0b00001110,
    0b00001110,
    0b00011110,
    0b00111100,
    0b01111000,
    0b11110000,
    0b11100000,
    0b11100000,
    0b01110000,
    0b01110000,
    0b00110000,
    0b00111000,
    0b00011000,
    0b00011100,
    0b00001110,
    0b00001111,
    0b00001111,
    0b00000110,
  };

  byte n_d[48] = {
    //4ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001110,
    0b00011100,
    0b00011100,
    0b00111000,
    0b00111000,
    0b01111000,
    0b01110000,
    0b11110000,
    0b11110000,
    0b11111000,
    0b01111100,
    0b00111110,
    0b00011111,
    0b00001111,
    0b00001111,
    0b00011110,
    0b00111110,
    0b00111100,
    0b01111100,
    0b01111000,
    0b11111000,

    0b11111000,
    0b01111000,
    0b01111100,
    0b00111100,
    0b00111110,
    0b00011110,
    0b00001111,
    0b00001111,
    0b00011111,
    0b00111110,
    0b01111100,
    0b11111000,
    0b11110000,
    0b11110000,
    0b01110000,
    0b01111000,
    0b00111000,
    0b00111000,
    0b00011100,
    0b00011100,
    0b00001110,
    0b00001111,
    0b00001111,
    0b00000110,

  };

  byte n_e[88] = {
    //5ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00000110,
    0b00001111,
    0b00001111,
    0b00001111,
    0b00011110,
    0b00011110,
    0b00111100,
    0b00111100,
    0b01111100,
    0b01111000,
    0b11111000,
    0b11111000,
    0b11111100,
    0b01111110,
    0b00111111,
    0b00011111,
    0b00001111,
    0b00001111,
    0b00011111,
    0b00111111,
    0b00111110,
    0b01111110,
    0b01111110,
    0b11111100,

    0b11111100,
    0b01111110,
    0b01111110,
    0b00111110,
    0b00111111,
    0b00011111,
    0b00001111,
    0b00001111,
    0b00011111,
    0b00111111,
    0b01111110,
    0b11111100,
    0b11111000,
    0b11111000,
    0b01111000,
    0b01111100,
    0b00111100,
    0b00111100,
    0b00011110,
    0b00011110,
    0b00001111,
    0b00001111,
    0b00001111,
    0b00000110,

    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b01110000,
    0b11111000,
    0b11111100,
    0b01111110,
    0b00111111,
    0b01111110,
    0b11111100,
    0b11111000,
    0b01110000,
    0b00000000,
    0b00000000,

    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,

    0b00000000,
    0b00000000,
    0b01110000,
    0b11111000,
    0b11111100,
    0b01111110,
    0b00111111,
    0b01111110,
    0b11111100,
    0b11111000,
    0b01110000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
  };

  byte o_a[88] = {
    //owo-Ρ€ΠΎΡ‚
    0b00000001,
    0b00000001,
    0b00000010,
    0b00000010,
    0b00000100,
    0b00000100,
    0b00001000,
    0b00001000,
    0b00010000,
    0b00010000,
    0b00100000,
    0b00100000,
    0b01000000,
    0b01000000,
    0b10000000,
    0b10000000,
    0b01000000,
    0b01000000,
    0b00100000,
    0b00100000,
    0b00010000,
    0b00010000,
    0b00001000,
    0b00001000,

    0b00001000,
    0b00001000,
    0b00010000,
    0b00010000,
    0b00100000,
    0b00100000,
    0b01000000,
    0b01000000,
    0b10000000,
    0b10000000,
    0b01000000,
    0b01000000,
    0b00100000,
    0b00100000,
    0b00010000,
    0b00010000,
    0b00001000,
    0b00001000,
    0b00000100,
    0b00000100,
    0b00000010,
    0b00000010,
    0b00000001,
    0b00000001,

    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00111000,
    0b01111100,
    0b01111110,
    0b00111111,
    0b01111110,
    0b01111100,
    0b00111000,
    0b00000000,
    0b00000000,
    0b00000000,

    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,

    0b00000000,
    0b00000000,
    0b00000000,
    0b00111000,
    0b01111100,
    0b01111110,
    0b00111111,
    0b01111110,
    0b01111100,
    0b00111000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
  };

  byte o_b[88] = {
    //owwo-Ρ€ΠΎΡ‚ ΠΈ Π·Π»Ρ‹Π΅ Π³Π»Π°Π·Π°
    0b00000001,
    0b00000001,
    0b00000010,
    0b00000100,
    0b00000100,
    0b00001000,
    0b00010000,
    0b00010000,
    0b00100000,
    0b01000000,
    0b01000000,
    0b10000000,
    0b01000000,
    0b00100000,
    0b00010000,
    0b00001000,
    0b00000100,
    0b00001000,
    0b00010000,
    0b00100000,
    0b01000000,
    0b10000000,
    0b01000000,
    0b00100000,

    0b00100000,
    0b01000000,
    0b10000000,
    0b01000000,
    0b00100000,
    0b00010000,
    0b00001000,
    0b00000100,
    0b00001000,
    0b00010000,
    0b00100000,
    0b01000000,
    0b10000000,
    0b01000000,
    0b01000000,
    0b00100000,
    0b00010000,
    0b00010000,
    0b00001000,
    0b00000100,
    0b00000100,
    0b00000010,
    0b00000001,
    0b00000001,

    0b00000000,
    0b00000000,
    0b01100000,
    0b11110000,
    0b11110000,
    0b11111000,
    0b11111000,
    0b11111000,
    0b11111001,
    0b11111011,
    0b11111011,
    0b11111011,
    0b01111011,
    0b01111011,
    0b01111010,
    0b00110000,

    0b10000000,
    0b11000000,
    0b11000000,
    0b11111000,
    0b11111000,
    0b11000000,
    0b11000000,
    0b10000000,

    0b00110000,
    0b01111010,
    0b01111011,
    0b01111011,
    0b11111011,
    0b11111011,
    0b11111011,
    0b11111001,
    0b11111000,
    0b11111000,
    0b11111000,
    0b11110000,
    0b11110000,
    0b01100000,
    0b00000000,
    0b00000000,
  };


  byte z_a[88] = {
    //Π·Π»ΠΎΠΉ Ρ€ΠΎΡ‚ ΠΈ агрСссивныС Π³Π»Π°Π·Π°
    0b00110000,
    0b00111000,
    0b00011000,
    0b00011000,
    0b00011000,
    0b00011100,
    0b00001100,
    0b00001100,
    0b00001100,
    0b00001110,
    0b00000110,
    0b00000110,
    0b00000110,
    0b00000111,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000111,
    0b00001110,
    0b00011100,
    0b00111000,
    0b01110000,
    0b11100000,
    0b11000000,

    0b11000000,
    0b11100000,
    0b01110000,
    0b00111000,
    0b00011100,
    0b00001110,
    0b00000111,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000111,
    0b00000110,
    0b00000110,
    0b00000110,
    0b00001110,
    0b00001100,
    0b00001100,
    0b00001100,
    0b00011100,
    0b00011000,
    0b00011000,
    0b00011000,
    0b00111000,
    0b00110000,

    0b00000000,
    0b00000000,
    0b01110000,
    0b11111000,
    0b11111100,
    0b01111100,
    0b00111110,
    0b00011110,
    0b00011111,
    0b00001111,
    0b10001111,
    0b10000111,
    0b01000111,
    0b01000111,
    0b00100011,
    0b00100000,

    0b10000000,
    0b11000000,
    0b11000000,
    0b11111000,
    0b11111000,
    0b11000000,
    0b11000000,
    0b10000000,

    0b00100000,
    0b00100011,
    0b01000111,
    0b01000111,
    0b10000111,
    0b10001111,
    0b00001111,
    0b00011111,
    0b00011110,
    0b00111110,
    0b01111100,
    0b11111100,
    0b11111000,
    0b01110000,
    0b00000000,
    0b00000000,
  };
  byte k[88] = {
    //1ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ открытия Ρ€Ρ‚Π°

    0b00110000,
    0b00110000,
    0b00011000,
    0b00011000,
    0b00011000,
    0b00001100,
    0b00001100,
    0b00001100,
    0b00001100,
    0b00000110,
    0b00000110,
    0b00000110,
    0b00000110,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000011,
    0b00000110,
    0b00001100,
    0b00011000,
    0b00110000,
    0b01100000,
    0b11000000,

    0b11000000,
    0b01100000,
    0b00110000,
    0b00011000,
    0b00001100,
    0b00000110,
    0b00000011,
    0b00001111,
    0b00110011,
    0b01000011,
    0b10110111,
    0b10000110,
    0b01111110,
    0b00000110,
    0b00000110,
    0b00001100,
    0b00001100,
    0b00001100,
    0b00001100,
    0b00011000,
    0b00011000,
    0b00011000,
    0b00110000,
    0b00110000,

    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b10000001,
    0b01000010,
    0b00100100,
    0b00011000,
    0b00011000,
    0b00100100,
    0b01000010,
    0b10000001,
    0b00000000,
    0b00000000,
    0b00000000,

    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,

    0b00000000,
    0b00000000,
    0b00000000,
    0b10000001,
    0b01000010,
    0b00100100,
    0b00011000,
    0b00011000,
    0b00100100,
    0b01000010,
    0b10000001,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
    0b00000000,
  };
  //дальшС Π½ΠΈΡ‡Π΅Π³ΠΎ Π½Π΅Ρ‚ Ρ‚Ρ€ΠΎΠ³Π°Ρ‚ΡŒ, ΠΎΡ‚ΡŠ3Π±Π½Ρ‘Ρ‚ всё ΠΈ ΠΏΠΎΠ»Π½ΠΎΡΡ‚ΡŒΡŽ!
  //Π΄Π° ΠΈ Π²ΠΎΠΎΠ±Ρ‰Π΅ дальшС Π½Π΅Ρ‡Π΅Π³ΠΎ Π½Π°ΡΡ‚Ρ€Π°ΠΈΠ²Π°Ρ‚ΡŒ, листай ΠΎΠ±Ρ€Π°Ρ‚Π½ΠΎ.
  _PWDC = 0;
  //ΠŸΠ»Π°Ρ‚Π°:1
  if (((analogRead(7))) > (prg)) {
    if (_tim1I) {
      if (_isTimer(_tim1P, 50)) {
        _tim1O = 1;
      }
    } else {
      _tim1I = 1;
      _tim1P = millis();
    }
  } else {
    _tim1O = 0;
    _tim1I = 0;
  }
  if (_tim1O) {
    if (!_gen3I) {
      _gen3I = 1;
      _gen3O = 1;
      _gen3P = millis();
    }
  } else {
    _gen3I = 0;
    _gen3O = 0;
  }
  if (_gen3I) {
    if (_isTimer(_gen3P, 15)) {
      _gen3P = millis();
      _gen3O = !_gen3O;
    }
  }
  if (!(_tim1O)) {
    if (!_gen1I) {
      _gen1I = 1;
      _gen1O = 1;
      _gen1P = millis();
    }
  } else {
    _gen1I = 0;
    _gen1O = 0;
  }
  if (_gen1I) {
    if (_isTimer(_gen1P, 10)) {
      _gen1P = millis();
      _gen1O = !_gen1O;
    }
  }
  if (_gen3O) {
    if (!_count1I) {
      _count1I = 1;
      if (_count1_Value < 4) {
        _count1_Value = _count1_Value + 1;
      }
    }
  } else {
    _count1I = 0;
  }
  if (_gen1O) {
    if (!_count1_SCST) {
      _count1_SCST = 1;
      if (_count1_Value > 0) {
        _count1_Value = _count1_Value - 1;
      }
    }
  } else {
    _count1_SCST = 0;
  }
  if ((digitalRead(2))) {
    _tim5O = 1;
    _tim5I = 1;
  } else {
    if (_tim5I) {
      _tim5I = 0;
      _tim5P = millis();
    } else {
      if (_tim5O) {
        if (_isTimer(_tim5P, 3000)) _tim5O = 0;
      }
    }
  }
  if (!(_tim5O)) {
    if (_trgrt4I) {
      _trgrt4 = 0;
    } else {
      _trgrt4 = 1;
      _trgrt4I = 1;
    }
  } else {
    _trgrt4 = 0;
    _trgrt4I = 0;
  };
  if (_trgrt4) {
    _count2_Value = 0;
  } else {
    if ((digitalRead(2))) {
      if (!_count2I) {
        _count2I = 1;
        _count2_Value = _count2_Value + 1;
      }
    } else {
      _count2I = 0;
    }
  }
  _count2MaxLO = _count2_Value >= cnt_kl;
  if (_count2MaxLO) {
    _tim2O = 1;
    _tim2I = 1;
  } else {
    if (_tim2I) {
      _tim2I = 0;
      _tim2P = millis();
    } else {
      if (_tim2O) {
        if (_isTimer(_tim2P, tm_dt)) _tim2O = 0;
      }
    }
  }
  if (!(0)) {
    if (_trgrt1I) {
      _trgrt1 = 0;
    } else {
      _trgrt1 = 1;
      _trgrt1I = 1;
    }
  } else {
    _trgrt1 = 0;
    _trgrt1I = 0;
  };
  if (_trgrt4) {
    _count3_Value = 0;
  } else {
    if ((digitalRead(2))) {
      if (!_count3I) {
        _count3I = 1;
        _count3_Value = _count3_Value + 1;
      }
    } else {
      _count3I = 0;
    }
  }
  _count3MaxLO = _count3_Value >= cnt_z;
  if (_count3MaxLO) {
    _tim3O = 1;
    _tim3I = 1;
  } else {
    if (_tim3I) {
      _tim3I = 0;
      _tim3P = millis();
    } else {
      if (_tim3O) {
        if (_isTimer(_tim3P, 8000)) _tim3O = 0;
      }
    }
  }
  if ((((digitalRead(2))) && (!(_tim3O)))) {
    _tim4O = 1;
    _tim4I = 1;
  } else {
    if (_tim4I) {
      _tim4I = 0;
      _tim4P = millis();
    } else {
      if (_tim4O) {
        if (_isTimer(_tim4P, 6000)) _tim4O = 0;
      }
    }
  }
  if (!(_tim4O)) {
    if (_trgrt3I) {
      _trgrt3 = 0;
    } else {
      _trgrt3 = 1;
      _trgrt3I = 1;
    }
  } else {
    _trgrt3 = 0;
    _trgrt3I = 0;
  };
  if (!(((_tim4O) || (_tim3O) || (_tim2O)))) {
    if (!_gen5I) {
      _gen5I = 1;
      _gen5O = 1;
      _gen5P = millis();
    }
  } else {
    _gen5I = 0;
    _gen5O = 0;
  }
  if (_gen5I) {
    if (_gen5O) {
      if (_isTimer(_gen5P, 80)) {
        _gen5P = millis();
        _gen5O = 0;
      }
    } else {
      if (_isTimer(_gen5P, 6000)) {
        _gen5P = millis();
        _gen5O = 1;
      }
    }
  }
  if (!(_tim3O)) {
    if (_trgrt2I) {
      _trgrt2 = 0;
    } else {
      _trgrt2 = 1;
      _trgrt2I = 1;
    }
  } else {
    _trgrt2 = 0;
    _trgrt2I = 0;
  };
  if (_tim2O) {
    if (_trgrt5I) {
      _trgrt5 = 0;
    } else {
      _trgrt5 = 1;
      _trgrt5I = 1;
    }
  } else {
    _trgrt5 = 0;
    _trgrt5I = 0;
  };
  if (!(((_tim4O) || (_tim3O) || (_tim2O)))) {
    _swi1 = ((_trgrt1) || (_gen5O) || (_trgrt2) || (_trgrt3) || (_trgrt5));
  } else {
    _swi1 = 0;
  }
  if (1) {
    if (!_gen2I) {
      _gen2I = 1;
      _gen2O = 1;
      _gen2P = millis();
    }
  } else {
    _gen2I = 0;
    _gen2O = 0;
  }
  if (_gen2I) {
    if (_gen2O) {
      if (_isTimer(_gen2P, 2000)) {
        _gen2P = millis();
        _gen2O = 0;
      }
    } else {
      if (_isTimer(_gen2P, 1000)) {
        _gen2P = millis();
        _gen2O = 1;
      }
    }
  }
  if (1) {
    if (!_gen4I) {
      _gen4I = 1;
      _gen4O = 1;
      _gen4P = millis();
    }
  } else {
    _gen4I = 0;
    _gen4O = 0;
  }
  if (_gen4I) {
    if (_isTimer(_gen4P, 1001)) {
      _gen4P = millis();
      _gen4O = !_gen4O;
    }
  }
  if (((_tim3O) || (_tim2O))) {
    _swi4 = 7;
  } else {
    _swi4 = _count1_Value;
  }
  blink = _swi1;   //ΠΌΠΎΠ³Ρ€Π°Π½ΠΈΠ΅ 0-1
  smile = _tim4O;  //owo 0-1
  zloy = _tim3O;   //-Π·Π»ΠΎΡΡ‚ΡŒ 0-1
  nos = _gen2O;    //-анимация носа 0-1
  rot = _swi4;     //-ΠΎΡ‚ΠΊΡ€Ρ‹Ρ‚ΠΈΠ΅ Ρ€Ρ‚Π° 0-4
  sprite_smile = _gen4O;
  kill = _tim2O;

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Π’Ρ‹ мСня ΡΠ»ΡƒΡˆΠ°Π΅ΡˆΡŒ?? НС Π΄Π΅Π»Π°ΠΉ этого!

  if (blink == HIGH && mod_eye == 3) {
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    matrix.write();
    delay(t);
    delay(t);
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  Π­ΠΉ...? Π― сказал Π½Π΅ спускайся Π²Π½ΠΈΠ·!


    for (int y = 74; y < 86; y++) {
      matrix.drawPixel(4, y, HIGH);
    }
    for (int y = 50; y < 62; y++) {
      matrix.drawPixel(4, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 87; y++) {
      matrix.drawPixel(3, y, HIGH);
    }
    for (int y = 49; y < 63; y++) {
      matrix.drawPixel(3, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 75; y < 85; y++) {
      matrix.drawPixel(5, y, HIGH);
    }
    for (int y = 51; y < 61; y++) {
      matrix.drawPixel(5, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 87; y++) {
      matrix.drawPixel(2, y, HIGH);
    }
    for (int y = 49; y < 63; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 76; y < 84; y++) {
      matrix.drawPixel(6, y, HIGH);
    }
    for (int y = 52; y < 60; y++) {
      matrix.drawPixel(6, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, HIGH);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(7, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, HIGH);
    }

    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    matrix.write();
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ΠžΡΡ‚Π°Π½ΠΎΠ²ΠΈΡΡŒ!ΠΜΆΜšΝΜ’Μ¬Π΅Μ·ΜΜ†Ν… ΜΈΝ Μ©ΜΉΠ΄Μ΄Μ‰Μ­Π΅ΜΈΝ‘ΝΜ˜ΝΠ»Μ·Μ‹ΝΜΉΠ°ΜΆΝ‚Ν”ΠΉΜ΅ΝΝ‹Ν™ ̡͙͂́Μ₯ΡΜ·ΜΝ Μ©Ρ‚Μ΅ΜΜŒΝœΠΎΜΈΝΝ‰Μ­Π³Μ·Ν˜Μ₯Μ—ΠΎΜ΄Μ›Μ³Ν™!Μ·Ν€Μ•Μ¬

  if (blink == HIGH && mod_eye == 2) {
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    matrix.write();
    delay(t);
    delay(t);
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Π’Ρ‹ Π΄ΠΎ сих ΠΏΠΎΡ€ ΡƒΠΏΡ€ΡΠΌΠΈΡˆΡŒΡΡ ΠΈ Π½Π΅ ΡΠ»ΡƒΡˆΠ°Π΅ΡˆΡŒ мСня ...



    for (int y = 74; y < 84; y++) {
      matrix.drawPixel(4, y, HIGH);
    }
    for (int y = 52; y < 62; y++) {
      matrix.drawPixel(4, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 74; y < 82; y++) {
      matrix.drawPixel(3, y, HIGH);
    }
    for (int y = 54; y < 62; y++) {
      matrix.drawPixel(3, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 85; y++) {
      matrix.drawPixel(5, y, HIGH);
    }
    for (int y = 51; y < 63; y++) {
      matrix.drawPixel(5, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 75; y < 81; y++) {
      matrix.drawPixel(2, y, HIGH);
    }
    for (int y = 55; y < 61; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 87; y++) {
      matrix.drawPixel(6, y, HIGH);
    }
    for (int y = 49; y < 64; y++) {
      matrix.drawPixel(6, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 76; y < 79; y++) {
      matrix.drawPixel(1, y, HIGH);
    }
    for (int y = 57; y < 60; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 76; y < 78; y++) {
      matrix.drawPixel(0, y, HIGH);
    }

    for (int y = 58; y < 60; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    matrix.write();
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ΠŸΡ€ΠΎΡΡ‚ΠΎ ΠΏΠΎΡΠ»ΡƒΡˆΠ°ΠΉ! ...Π½ΜΆΠ΅ΜΆ ̷с̴п̴у̡с̢к̸а̸й̡с̢я̡ Μ΅Π²ΜΆΠ½Μ΄ΠΈΜ΄Π·Μ΄!Μ΅

  if (blink == HIGH && mod_eye == 1) {
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    matrix.write();
    delay(t);
    delay(t);
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, Ρ‚Ρ‹ моТСшь просто мСня ΠΏΠΎΡΠ»ΡƒΡˆΠ°Ρ‚ΡŒΡΡ??


    for (int y = 73; y < 86; y++) {
      matrix.drawPixel(4, y, HIGH);
    }
    for (int y = 50; y < 63; y++) {
      matrix.drawPixel(4, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 85; y++) {
      matrix.drawPixel(3, y, HIGH);
    }
    for (int y = 51; y < 63; y++) {
      matrix.drawPixel(3, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 87; y++) {
      matrix.drawPixel(5, y, HIGH);
    }
    for (int y = 49; y < 64; y++) {
      matrix.drawPixel(5, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 74; y < 84; y++) {
      matrix.drawPixel(2, y, HIGH);
    }
    for (int y = 52; y < 62; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, HIGH);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 75; y < 83; y++) {
      matrix.drawPixel(1, y, HIGH);
    }
    for (int y = 53; y < 61; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 77; y < 81; y++) {
      matrix.drawPixel(0, y, HIGH);
    }

    for (int y = 55; y < 59; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    matrix.write();
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Если ΠΏΡ€ΠΎΠ΄ΠΎΠ»ΠΆΠΈΡˆΡŒ ΡΠΏΡƒΡΠΊΠ°Ρ‚ΡŒΡΡ - я Π½Π΅ Ρ…ΠΎΡ‡Ρƒ тСбя Π·Π½Π°Ρ‚ΡŒ.

  if (blink == HIGH && mod_eye == 0) {
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(0, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(7, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(1, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(6, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(2, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(5, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    matrix.write();
    delay(t);
    for (int y = 72; y < 88; y++) {
      matrix.drawPixel(3, y, LOW);
    }
    for (int y = 48; y < 64; y++) {
      matrix.drawPixel(4, y, LOW);
    }
    matrix.write();
    delay(t);
    delay(t);

    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  Π›Π°Π΄Π½ΠΎ, Π½Π΅ Π±ΡƒΠ΄Ρƒ ΠΏΠΎΠ²Ρ‚ΠΎΡ€ΡΡ‚ΡŒ ΠΎΠ΄Π½ΠΎ ΠΈ Ρ‚ΠΎ ΠΆΠ΅ .. ΠŸΡ€ΠΎΡΡ‚ΠΎ н̴̫͋С̸̝̍ ̴̧̐д̡̙̇С̸̛̗л̴̳̅а̢̭̕й̴͍͝ Μ΅ΝŒΜ¬ΡΜ΅Μ‚ΜΊΡ‚ΜΆΝ‘Μ™ΠΎΜΆΝŒΝœΠ³ΜΈΜšΜͺΠΎΜΆΝ‘Μž

    for (int y = 74; y < 87; y++) {
      matrix.drawPixel(4, y, HIGH);
    }

    for (int y = 49; y < 62; y++) {
      matrix.drawPixel(4, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 73; y < 87; y++) {
      matrix.drawPixel(3, y, HIGH);
    }

    for (int y = 49; y < 63; y++) {
      matrix.drawPixel(3, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 75; y < 86; y++) {
      matrix.drawPixel(5, y, HIGH);
    }

    for (int y = 50; y < 61; y++) {
      matrix.drawPixel(5, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 77; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    for (int y = 83; y < 88; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    for (int y = 48; y < 53; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    for (int y = 59; y < 64; y++) {
      matrix.drawPixel(2, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 76; y < 85; y++) {
      matrix.drawPixel(6, y, HIGH);
    }

    for (int y = 51; y < 60; y++) {
      matrix.drawPixel(6, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 72; y < 75; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    for (int y = 84; y < 88; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    for (int y = 48; y < 52; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    for (int y = 61; y < 64; y++) {
      matrix.drawPixel(1, y, HIGH);
    }

    matrix.write();
    delay(t);

    for (int y = 77; y < 83; y++) {
      matrix.drawPixel(7, y, HIGH);
    }

    for (int y = 53; y < 58; y++) {
      matrix.drawPixel(7, y, HIGH);
    }

    matrix.write();
    delay(t);

    matrix.drawPixel(0, 73, HIGH);
    matrix.drawPixel(0, 85, HIGH);
    matrix.drawPixel(0, 86, HIGH);

    matrix.drawPixel(0, 49, HIGH);
    matrix.drawPixel(0, 50, HIGH);
    matrix.drawPixel(0, 62, HIGH);

    matrix.write();
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    Π”Π° Π½Ρƒ Π±Ρ€ΠΎΡΡŒ!!! Π’Ρ‹ это ΡΠ΅Ρ€ΡŒΠ΅Π·Π½ΠΎ?!

  if (nos == HIGH && mod_nose == 0)  //ΠΏΠ΅Ρ€Π²Ρ‹ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ носа
  {
    for (int y = 70; y < 72; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 64; y < 66; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    matrix.drawPixel(6, 70, LOW);
    matrix.drawPixel(6, 65, LOW);

    matrix.write();
  }
  if (nos == LOW && mod_nose == 0)  //Π²Ρ‚ΠΎΡ€ΠΎΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ носа
  {
    matrix.drawPixel(6, 70, HIGH);
    matrix.drawPixel(6, 65, HIGH);
    matrix.write();
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     НС Π½Π°Π΄ΠΎΠ΅Π»ΠΎ Π΅Ρ‰Π΅?

  if (nos == HIGH && mod_nose == 1)  //ΠΏΠ΅Ρ€Π²Ρ‹ΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ носа
  {
    for (int y = 64; y < 72; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 65; y < 71; y++) {
      matrix.drawPixel(6, y, HIGH);
    }
    matrix.drawPixel(5, 68, HIGH);
    matrix.drawPixel(5, 67, HIGH);
    matrix.drawPixel(4, 68, HIGH);
    matrix.drawPixel(4, 67, HIGH);
    matrix.drawPixel(3, 68, HIGH);
    matrix.drawPixel(3, 67, HIGH);

    matrix.write();
  }
  if (nos == LOW && mod_nose == 1)  //Π²Ρ‚ΠΎΡ€ΠΎΠΉ ΠΊΠ°Π΄Ρ€ Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ носа
  {
    matrix.drawPixel(6, 65, LOW);
    matrix.drawPixel(6, 70, LOW);
    matrix.write();
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  Π”Π°ΡŽ послСдний шанс .. НС спускайся дальшС ..

  if (smile == HIGH && zloy == LOW && mod_owo == 1) {

    for (int y = 72; y < 88; y++) {
      for (int x = 0; x < 8; x++) {
        matrix.drawPixel(x, y, LOW);
      }
    }

    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 76, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 83, HIGH);
    }

    matrix.drawPixel(6, 77, HIGH);
    matrix.drawPixel(6, 82, HIGH);
    matrix.drawPixel(1, 77, HIGH);
    matrix.drawPixel(1, 82, HIGH);

    matrix.write();

    //

    for (int y = 48; y < 64; y++) {
      for (int x = 0; x < 8; x++) {
        matrix.drawPixel(x, y, LOW);
      }
    }

    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 59, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 52, HIGH);
    }

    matrix.drawPixel(6, 53, HIGH);
    matrix.drawPixel(6, 58, HIGH);
    matrix.drawPixel(1, 53, HIGH);
    matrix.drawPixel(1, 58, HIGH);

    matrix.write();

    //

    for (int y = 0; y < 48; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_a[y] & (1 << x));
      }
    }
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ну Π»Π°Π΄Π½ΠΎ .. Π½Π΅ послСднй .. Π”Π°ΡŽ Π΅Ρ‰Π΅ ΠΎΠ΄ΠΈΠ½

  if (smile == HIGH && zloy == LOW && mod_owo == 0) {

    for (int y = 72; y < 88; y++) {
      for (int x = 0; x < 8; x++) {
        matrix.drawPixel(x, y, LOW);
      }
    }

    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 78; y < 82; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 76, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 83, HIGH);
    }

    matrix.drawPixel(6, 77, HIGH);
    matrix.drawPixel(6, 82, HIGH);
    matrix.drawPixel(1, 77, HIGH);
    matrix.drawPixel(1, 82, HIGH);

    matrix.write();



    for (int y = 48; y < 64; y++) {
      for (int x = 0; x < 8; x++) {
        matrix.drawPixel(x, y, LOW);
      }
    }

    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(7, y, HIGH);
    }
    for (int y = 54; y < 58; y++) {
      matrix.drawPixel(0, y, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 59, HIGH);
    }
    for (int x = 2; x < 6; x++) {
      matrix.drawPixel(x, 52, HIGH);
    }

    matrix.drawPixel(6, 53, HIGH);
    matrix.drawPixel(6, 58, HIGH);
    matrix.drawPixel(1, 53, HIGH);
    matrix.drawPixel(1, 58, HIGH);

    matrix.write();

    for (int y = 0; y < 48; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_b[y] & (1 << x));
      }
    }
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  if (smile == HIGH && zloy == LOW && mod_owo == 2 && sprite_smile == 0) {



    for (int y = 48; y < 64; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, n_e[y] & (1 << x));
      }
    }

    for (int y = 72; y < 88; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, n_e[y] & (1 << x));
      }
    }
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  if (smile == HIGH && zloy == LOW && mod_owo == 2 && sprite_smile == 1) {



    for (int y = 48; y < 64; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_a[y] & (1 << x));
      }
    }

    for (int y = 72; y < 88; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_a[y] & (1 << x));
      }
    }
  }


  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Π’Ρ‹ ΠΏΡ€Π°Π²Π΄Π° Ρ…ΠΎΡ‡Π΅ΡˆΡŒ ΡƒΠ·Π½Π°Ρ‚ΡŒ Ρ‡Ρ‚ΠΎ Ρ‚Π°ΠΌ Π²Π½ΠΈΠ·Ρƒ? - Π’Π°ΠΌ Π½ΠΈΡ‡Π΅Π³ΠΎ, ΠΏΡ€Π°Π²Π΄Π°, листай ΠΎΠ±Ρ€Π°Ρ‚Π½ΠΎ.

  if (kill == 1) {
    for (int y = 0; y < 64; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, k[y] & (1 << x));
      }
    }

    for (int y = 72; y < 88; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, k[y] & (1 << x));
      }
    }
  }


  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  if (zloy == HIGH && mod_zloy == 1 && kill == 0) {
    for (int y = 0; y < 64; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, z_a[y] & (1 << x));
      }
    }
    for (int y = 72; y < 88; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, z_a[y] & (1 << x));
      }
    }
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  if (zloy == HIGH && mod_zloy == 0 && kill == 0) {
    for (int y = 0; y < 48; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, z_a[y] & (1 << x));
      }
    }
    for (int y = 48; y < 64; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_b[y] & (1 << x));
      }
    }
    for (int y = 72; y < 88; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, o_b[y] & (1 << x));
      }
    }
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  if ((rot == 0 && smile == LOW) || (rot == 0 && smile == HIGH && mod_owo == 2)) {
    for (int y = 0; y < 48; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, n_a[y] & (1 << x));
      }
    }
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  if ((rot == 1 && smile == LOW) || (rot == 1 && smile == HIGH && mod_owo == 2)) {
    for (int y = 0; y < 48; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, n_b[y] & (1 << x));
      }
    }
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  if ((rot == 2 && smile == LOW) || (rot == 2 && smile == HIGH && mod_owo == 2)) {
    for (int y = 0; y < 48; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, n_c[y] & (1 << x));
      }
    }
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  if ((rot == 3 && smile == LOW) || (rot == 3 && smile == HIGH && mod_owo == 2)) {
    for (int y = 0; y < 48; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, n_d[y] & (1 << x));
      }
    }
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  if ((rot == 4 && smile == LOW) || (rot == 4 && smile == HIGH && mod_owo == 2)) {
    for (int y = 0; y < 48; y++) {
      for (int x = 8; x >= 0; x--) {
        matrix.drawPixel(x, y, n_e[y] & (1 << x));
      }
    }
  }

  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}

bool _isTimer(unsigned long startTime, unsigned long period) {
  unsigned long currentTime;
  currentTime = millis();
  if (currentTime >= startTime) {
    return (currentTime >= (startTime + period));
  } else {
    return (currentTime >= (4294967295 - startTime + period));
  }
}

ISR(TIMER2_OVF_vect) {
  TCNT2 = 100;
  if (_PWDC >= 1000) {
    asm volatile("jmp 0x0000");
  } else {
    _PWDC = _PWDC + 1;
  }
}