Thank you, I learned something new to me, I didn't know "constexpr" so I'd neve thought using "constexpr" to do that! ![]()
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;"?