Anfänger benötigt Hilfe beim Lauflicht

ich lass mal die 16 (wozu ist die) drin wenn's läuft ist nur ein Reststück, deshalb bau ich ja mit Variablen, weis noch nicht wieviele es werden ...

er motzt aber immer noch rum :frowning:

src\main.cpp: In function 'void loop()':
src\main.cpp:184:18: error: 'lastPixel' was not declared in this scope
  184 |     Serial.print(lastPixel());
      |                  ^~~~~~~~~
src\main.cpp: At global scope:
src\main.cpp:214:1: error: expected declaration before '}' token
  214 | }
      | ^
*** [.pio\build\d1_mini\src\main.cpp.o] Error 1