Light and microprocessor

Can a microprocessor work with light?