A DAC Converter(MCP4725) Driver for STM32.
Note: This project depends on HAL Driver.
How to use:
- Open STM32CubeIDE
- Create a project
- Enable I2C Bus in your project, either one is ok.
- In Project Manager->Code Generator, check the "Generate peripheral initialization as a pair of '.c/.h files per peripheral" option.
- Save and generate code.
- Add mcp4725.c/.h to /Core/Src(and /Core/Inc)
- Write your code!
MCP4725 Overview: https://www.microchip.com/en-us/product/MCP4725