Changes between Version 4 and Version 5 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/SetDACTrackScale
- Timestamp:
- 07/18/14 14:56:04 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/SetDACTrackScale
v4 v5 34 34 }}} 35 35 36 {{{ 37 // Set DAC 1 and 2 to track scale 1 38 int n; 39 int scale = 1; 40 for(n = 1; n <= 2; n++) 41 { 42 SetDACReg(n, dacAD5422Control, 0x3FF0 | dacRange0_10V, WAIT_ACK); 43 SetDACTrackScale(n, scale, dacTrackGross, WAIT_ACK); 44 SetDACFloat(n, dacLowWeight, 0.0, WAIT_ACK); 45 SetDACFloat(n, dacHighWeight, 10000.0, WAIT_ACK); 46 SetDACFloat(n, dacMaxOutput, 10.0, WAIT_ACK); 47 } 48 49 }}} 50 36 51 37 52 == See Also ==