How to put 2 variables in a macro?
In the parameter list of the #define for the macro, separate the second argument from the first with only a comma.  For example:

#define wrEE(speed,var) writeToEE((etc))


The "void value not ignored as it ought to be" error message is a consequence of trying to store the void result of writeToEE.  The solution is to not try to store it.

In C, variable, parameter, and constant names are case-sensitive.