error: invalid conversion from 'volatile byte' to 'void (*)()'

You should remove the { at line 21.

void setup() {
  
  {  //<------------------REMOVE THIS
  // Initialize a serial connection for reporting values to the host
  Serial.begin(9600);