log of today update

This commit is contained in:
yul 2022-09-05 19:00:28 +02:00
parent 310be37ad4
commit 6972da6634
1 changed files with 15 additions and 0 deletions

View File

@ -3,6 +3,21 @@
L'objectif du jour: Lire un registre de l'oximètre via I2C. (sans succès) L'objectif du jour: Lire un registre de l'oximètre via I2C. (sans succès)
# 2022-09-05
**Context:**
The library "oximeter2.h" on branch yu-capteurs is essentially the same thing as the [example code](https://github.com/MikroElektronika/mikrosdk_click_v2/blob/master/clicks/oximeter2/example/main.c) from the official github repo of MikroElektronika except a few modifications.
There are modifications because the cod on this gitlab branch yu doesn't use the "drv" libraries. The code connecting the drivers of the [nxp mcu sdk](https://github.com/NXPmicro/mcux-sdk/blob/main/drivers/i2c/fsl_i2c.h) and the example code provided by mikroelektronika has to be reinvened.
**Problem/Confusion:**
The function oximeter2_read_data from the MikroElektro official oximeter2 library has 4 register value catchers catching readings from the 4 channels(PD_{1,2,3,4}).
I received warnings of "variable 'reg_addr{1,3}' set but not used".
Will removing these two variables affecting anything?
# 2022-août-29 # 2022-août-29
L'objectif du jour: Découvrir le capteur oximètre 2 qui est une partie d'une LPC55S16 d'application 2 "centre de mesures". L'objectif du jour: Découvrir le capteur oximètre 2 qui est une partie d'une LPC55S16 d'application 2 "centre de mesures".