Driver for the DACxx6xT series of Texas Instruments DACs Not all functions have been implemented yet. DAC7562T, DAC7563T, DAC8162T DAC8163T, DAC8562T, DAC8563T
Revision 2:6edde8a229f7, committed 2019-01-29
- Comitter:
- Ryan Vasquez
- Date:
- Tue Jan 29 13:07:27 2019 -0600
- Parent:
- 1:c033f984277b
- Commit message:
- Corrected some formulas and initialized custom gains to 1.0
Changed in this revision
DACxx6xT.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c033f984277b -r 6edde8a229f7 DACxx6xT.cpp --- a/DACxx6xT.cpp Tue Jan 29 13:03:54 2019 -0600 +++ b/DACxx6xT.cpp Tue Jan 29 13:07:27 2019 -0600 @@ -10,6 +10,8 @@ vrefpin = Vref; gain_DAC_A = 1.0; gain_DAC_B = 1.0; + custom_gain_A = 1.0; + custom_gain_B = 1.0; vref_B = Vref; } @@ -23,6 +25,8 @@ vrefpin = Vref; gain_DAC_A = 1.0; gain_DAC_B = 1.0; + custom_gain_A = 1.0; + custom_gain_B = 1.0; } void DACxx6xT::init()