printByte error

hi, I Found a simple code to control a max7219 led array, I have uploaded the library and included it in the code however the instruction to “printByte(one)” comes up with the following error message

Arduino: 1.8.7 (Windows 10), Board: "Arduino/Genuino Uno"

Build options changed, rebuilding all
C:\Users\sjpai\OneDrive\Documents\Arduino\led_array\led_array.ino: In function 'void loop()':

led_array:24:14: error: 'printByte' was not declared in this scope

 printByte(one);

              ^

exit status 1
'printByte' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

This is my code

#include <LedControl.h>

int DIN = 12;
int CS = 11;
int CLK = 10;

byte one[8] = {0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x00,};

LedControl lc=LedControl (DIN,CLK,CS,0);

void setup() {
  // put your setup code here, to run once:
lc.shutdown(0,false);
lc.setIntensity (0,15);
lc.clearDisplay(0);
}



void loop() {
  // put your main code here, to run repeatedly:
printByte(one);
}

do I need another library, an update to my uno, or somthing else?

Sounds like the code is incomplete.

You'll need to revisit whichever place you copied the code from.

Thanks. I wish people would explain the full code if they are giving a tutorial. I assume that this part of the code.

void printByte(byte character [])
{
  int i = 0;
  for(i=0;i<8;i++)
  {
    lc.setRow(0,i,character[i]);

sets each row to print according to the array. And i assume the array is BCD or is it hex? as im typing this I’m trying to get more information