A method, comprising: processing, via a logic circuit comprising a plurality of code extractors, an output of a photodetector based on anticipated codes to identify multiple light sources (104 - 112) from which the photodetector receives light at a first position; determining, using the logic circuit, locations of the identified light sources; determining, using the logic circuit, distances from each of the identified light sources to the photodetector; determining a location of the first position based on the locations of the identified light sources and based on the determined distances from each of the identified light sources to the photodetector; and the method characterized by further comprising, at one of the plurality of code extractors, the steps of: demodulating the output of the photodetector to generate a demodulated signal; correlating the demodulated signal to ones of the anticipated codes; identifying a first one of the anticipated codes as being in the demodulated signal based on the demodulated signal having at least a threshold correlation with the first one of the anticipated codes, wherein the first one of the anticipated codes is different than any other ones of the anticipated codes; and informing the remaining code extractors of the identification of the first one of the anticipated codes such that the remaining code extractors search for other ones of the anticipated codes. processing, via a logic circuit comprising a plurality of code extractors, an output of a photodetector based on anticipated codes to identify multiple light sources (104 - 112) from which the photodetector receives light at a first position; determining, using the logic circuit, locations of the identified light sources; determining, using the logic circuit, distances from each of the identified light sources to the photodetector; determining a location of the first position based on the locations of the identified light sources and based on the determined distances from each of the identified light sources to the photodetector; and the method characterized by further comprising, at one of the plurality of code extractors, the steps of: demodulating the output of the photodetector to generate a demodulated signal; correlating the demodulated signal to ones of the anticipated codes; identifying a first one of the anticipated codes as being in the demodulated signal based on the demodulated signal having at least a threshold correlation with the first one of the anticipated codes, wherein the first one of the anticipated codes is different than any other ones of the anticipated codes; and informing the remaining code extractors of the identification of the first one of the anticipated codes such that the remaining code extractors search for other ones of the anticipated codes. demodulating the output of the photodetector to generate a demodulated signal; correlating the demodulated signal to ones of the anticipated codes; identifying a first one of the anticipated codes as being in the demodulated signal based on the demodulated signal having at least a threshold correlation with the first one of the anticipated codes, wherein the first one of the anticipated codes is different than any other ones of the anticipated codes; and informing the remaining code extractors of the identification of the first one of the anticipated codes such that the remaining code extractors search for other ones of the anticipated codes.