Single Button IR Remote

I guess in this block

uint16_t presets[NUMPRESETS][MAXDIGITS] =
{
  {C05C06, C05C00, C05C01}, // preset 1; 601
  {C05C06, C05C01, C05C04}, // preset 2; 614
  {C05C06, C05C01, C05C05}, // preset 3; 615
  {C05C06, C05C01, C05C07}, // preset 4; 617
  {C05C06, C05C02, C05C00}, // preset 5; 620
  {C05C06, C05C02, C05C03}, // preset 6; 623
}

You need to put 0x in front of each of the numbers. Because they start with a letter, the compiler thinks it's a variable.

Please fix your post and replace by [code] and replace by [/code].