Thanks for sharing! Do you have a full example of the code? The enum structure is perfect for a project I'm working on but I'm just trying to understand it a bit more.
Glad you found it helpful. Here is a link to the source code used in the video. www.dropbox.com/s/7524oa19769shrk/sketch_Unlock_Photo_and_Servo.ino?dl=0
In other programming languages they have the concept of the enum being an object with methods. But in C++ and my example code in the the video the enum is just a data type and not an object.