pin numbers replaced by #define labels