1-Wire thermometer example. More...
#include <gui/gui.h>
#include <gui/view_port.h>
#include <core/thread.h>
#include <core/kernel.h>
#include <locale/locale.h>
#include <one_wire/maxim_crc.h>
#include <one_wire/one_wire_host.h>
#include <furi_hal_power.h>
Data Structures | |
union | DS18B20Scratchpad |
struct | ExampleThermoContext |
Enumerations | |
enum | ReaderThreadFlag { ReaderThreadFlagExit = 1 } |
Functions | |
int32_t | example_thermo_main (void *p) |
1-Wire thermometer example.
This file contains an example application that reads and displays the temperature from a DS18B20 1-wire thermometer.
It also covers basic GUI, input handling, threads and localisation.
References: [1] DS18B20 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/DS18B20.pdf