calculate LDR change,
added array of switches to toggle

Signed-off-by: seannicholls <seannicholls@gmail.com>