Text this: Multifunctional III-nitride optoelectronic system on a tiny chip