updated to #define-only led implementation