Light Dependent Light&Dark sensor, code for both software and register based pulldown. The corresponding fzz file has circuit layout details.