sw: add temperature measurement

Signed-off-by: Vera Filippova <oakjumper@gmail.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>