UNTESTED tiny code for dimming and not quite yet functioning rf