High speed spatial encoding enabled by CMOS-controlled micro-LED arrays