What I use is 51 single chip computer I want to make a circuit of measuring temperature when I was in the measurement of external input voltage voltage value can change with temperature but after I have to convert the voltage to the temperature static digital tube output becomes fixed value of the I don't know where is wrong, Match the graph I voltage temperature part of the code
CodePudding user response:
Single-step operation debugging to see the value of the TEMP is not the result you want, Your writing C code and is not standard, you have a look at your floating-point and integer transformation that piece,