ldr pre-process

i don't want to use arduino for this comparison because there is not enough analog inputs!