"not defined error" please help

Yes, and than give the GPIO numbers a name corresponding to its usage :wink: