ltr-329 0.1.0

I2C-based driver for an LTR329 Ambient Light Sensor (ALS).
Documentation

A driver for the LTR329 Ambient Light Sensor (ALS).

The data sheet for the LTR329 can be found here

The flowchart below is based on the flowchart in Section 9 of the LTR329 datasheet and outlies the general operation of the chip.

          Device Power Up
                 │
                 ▼
             Wait 100 ms
                 │
                 ▼
             DLS Active
                 │
                 ▼
             Wait 10 ms
                 │
                 ▼
       Check Status Reg (0x8C)   ◄─┐
                 │                 │
                 ▼                 │
            New Data? ──── No ─────┘
                 │                 │
                Yes                │
                 │                 │
                 ▼                 │
          Read ALS data            │
                 │                 │
                 ▼                 │
            Take MCU Actions  ─────┘