Programmable data readout for an optical sensor | AMiner