Text this: Optoelectronic devices and principles