Posted on June 11, 2018 at 12:14
hi,
I'm using cubemx to initiate the project, the mcu I'm using is stm32L053C6. To that I have 2 sensors and 2 transistors connected to adc inputs. The code below shows how I get the input value, voltage, f...
Posted on June 11, 2018 at 13:27ok, sure I should have mentioned that, it gives 1654 which according to the data sheet for the temp. sensor is approx 25 deg C. The second temp. sensor give approx the same value 16xx best regards, Hussik