diff options
Diffstat (limited to 'project/Core/Inc/dac.h')
| -rw-r--r-- | project/Core/Inc/dac.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/project/Core/Inc/dac.h b/project/Core/Inc/dac.h new file mode 100644 index 0000000..6425c77 --- /dev/null +++ b/project/Core/Inc/dac.h @@ -0,0 +1,19 @@ +/* + * dac.h + * + * Created on: Apr 13, 2022 + * Author: bruce + */ + +#ifndef INC_DAC_H_ +#define INC_DAC_H_ + +#include "stm32l4xx.h" + +// Uses A2 on the right connector + +void DAC_Init (); +void DAC_Start (); +void DAC_Set_Value (uint32_t value); + +#endif /* INC_DAC_H_ */ |
