We have fabricated a device which includes two lateral p-n junctions on an n-type GaAs/Al0.33Ga0.67As heterostructure. A section of the n-type material has been converted to p-type by removing dopants and applying a voltage to a gate placed in this region. Controlled electroluminescence from both of the p-n junctions has been demonstrated by varying the applied bias voltages. An emission peak with a width of similar to 8