- #ifndef DAC_H_
- #include "ti/driverlib/dl_i2c.h"
- #include "ti_msp_dl_config.h"
- #include <stdbool.h>
- #define DAC_TARGET_BASE_ADDRESS (0x60)
- #define CHANNEL_A_VALUE (800) // in mAmps
- bool DAC_fastWrite(uint16_t channel_a_value);
- void DAC_UpdateOutput();
- #endif
|