#18: directives for keypad and led bar added (still work in progress)