A method of measuring the mean temperature based on switching two currents between two branches containing p-n junctions is described. The values of these currents remain in constant relation. A diagram of the system and typical signal characteristics are presented. Basic mathematical relations have been derived. The sensitivity of the method is discussed.