1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_si1133
Gerson Fernando Budke 4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
..
tests-with-config tests/driver_si1133: move to test-with-config 2021-01-25 21:10:08 +01:00
app.config.test tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
main.c drivers/si1133: New SI1133 UV/IR/Ambient light driver 2020-12-14 03:13:23 +00:00
Makefile drivers/si1133: New SI1133 UV/IR/Ambient light driver 2020-12-14 03:13:23 +00:00
Makefile.ci boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
README.md drivers/si1133: New SI1133 UV/IR/Ambient light driver 2020-12-14 03:13:23 +00:00

Si1133 driver test

Test application for the Silicon Labs Si1133 I2C device.

Usage

This test will initialize the Si1133 device defined in the si1133_params.h header, which can be override by the board or in CLFAGS by setting the following macros:

  • SI1133_PARAM_I2C_DEV the I2C device to use, by default I2C_DEV(0).
  • SI1133_PARAM_ADDR the I2C address of the Si1133, either 0x52 or 0x55.

The automated test checks that the Si1133 responds and all sensor values can be read in blocking mode.