Devices controlled by radiation