Error: Variable or field 'setup' declared void

RdmGuy:
Thanks a lot. Do you know how to write the code so the code works? :slight_smile:

It looks like all of the problems are in the function named "blinker()". Remove that function and maybe the sketch will compile. Then you can start adding features.
Note: This expression will almost certainly no do what you appear to want it to do:

if ((dataX or dataY or dataZ) >= (200)) {

The language won't compare multiple values that way. You probably want to say:

if ((dataX >= 200) || (dataY >= 200) || (dataZ >= 200)) {