Anstelle des TSL2561 Lichtfühlers möchte ich den MAX44009 einbinden.
Bibliotheken sind folgende eingebunden:
Code: Alles auswählen
#define MAX44009_ADDR 0x4A,0x01,0x03
#include <Wire.h>
#include <sensors/MAX44009.h>
Code: Alles auswählen
typedef MotionChannel<Hal,PEERS_PER_CHANNEL,List0,MAX44009<MAX44009_ADDR> > MChannel;
Code: Alles auswählen
22:15:32.512 -> AskSin++ V4.1.7 (Jan 4 2021 22:07:59)
22:15:32.559 -> MAX44009 Sensor Error 2
22:15:32.559 -> Address Space: 32 - 76
22:15:32.559 -> CC init1
22:15:32.559 -> CC Version: 04
22:15:32.559 -> - ready
22:15:32.606 -> iVcc: 2760
22:15:32.606 -> Config Freq: 0x2165AA
22:15:32.606 -> Clock RTC
