Error with enum in arduino IDE

Thank you! I wasn’t aware of d0 and d1 acted as such. I figured stay away from pin 6,7 Tx/rx?

The delay worked! How do you add interrupt on incoming serial or is that built in?

I realized the error with enum issue stated initially. It appears those variables being used so I just renamed them.

Thank you!!