zephyr/samples/drivers/i2c_stts751
Andre Guedes 024cfe754e drivers: Replace DEV_OK by 0
This patch replaces all occurences of the macro DEV_OK by the actual
value 0 at the driver level. So this patch touch the files under
drivers/, include/ and samples/drivers/.

This patch is part of the effort to transition from DEV_* codes to
errno.h codes.

Change-Id: I69980ecb9755f2fb026de5668ae9c21a4ae62d1e
Signed-off-by: Andre Guedes <andre.guedes@intel.com>
2016-03-16 19:30:04 -04:00
..
src drivers: Replace DEV_OK by 0 2016-03-16 19:30:04 -04:00
Makefile samples: Add STTS751 sample application 2016-03-16 19:35:19 +00:00
README samples: Add STTS751 sample application 2016-03-16 19:35:19 +00:00
prj.conf samples: Add STTS751 sample application 2016-03-16 19:35:19 +00:00

README

This sample application illustrates how to use the I2C APIs from
Zephyr. The slave device (STTS751) is present in Quark SE devboard
so no wiring instructions are required in order to get this sample
working.

This is a very simple application which reads the value from the
temperature register from STTS751 sensor.