Arduino program 1 push button 2 LED

Thank you, I learned something new to me, I didn't know "constexpr" so I'd neve thought using "constexpr" to do that! :slight_smile:

By the way, I understand the first "constexpr" is useful when defining constant arrays, but how the second one differs from a standard "const uint8_t ButtonPin = A0;"?