First variable in tab defined as void/error

Welcome to the forum

Please do not post pictures of code. They are difficult to see and the code cannot be copied for examination

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'

Use code tags (the < CODE/ > icon above the compose window) to make it easier to read and copy for examination

https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum