light-controlled electronics