1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_ds18
Guillaume Gonnet c9fa1d7503 tests/drivers_ds18: display negative numbers
When `ds18_read` returns -2506, DS18 test print `Temperature [ºC]: -25.-6`
whereas it should print `Temperature [ºC]: -25.06. This commit fixes this
issue.
2019-05-16 20:22:02 +02:00
..
main.c tests/drivers_ds18: display negative numbers 2019-05-16 20:22:02 +02:00
Makefile drivers/ds18: Add Maxim Integrated ds18 driver 2018-10-24 16:02:05 +02:00
Readme.md drivers/ds18: Add Maxim Integrated ds18 driver 2018-10-24 16:02:05 +02:00

About

This is a test application for the Maxime DS18B20 1-Wire temperature sensor.

Usage

The application will initialize the DS18B20 sensor and every 2 seconds will read the temperature and print the measurement to STDOUT.