Example host software for the Maxim Integrated MAX5715 12-bit 4-channel voltage-output DAC. Hosted on the MAX32625MBED.
Dependencies: MAX5715
Diff: main.cpp
- Revision:
- 12:f84771a41b3b
- Parent:
- 11:2de0dbf6946a
- Child:
- 13:9fdbd02b6e46
--- a/main.cpp Mon Jun 17 05:43:08 2019 +0000 +++ b/main.cpp Wed Jul 10 01:45:10 2019 +0000 @@ -109,19 +109,19 @@ // CODE GENERATOR: example code: member function CODEnLOADn // uint16_t ch = 0; - uint16_t code = 0xccc; + uint16_t code = 0xccc; // 80% 2.0V (REF=2.5V) g_MAX5715_device.CODEnLOADn(ch, code); // ch = 1; - code = 0x800; + code = 0x800; // 50% 1.25V (REF=2.5V) g_MAX5715_device.CODEnLOADn(ch, code); // ch = 2; - code = 0x666; + code = 0x666; // 40% 1.0V (REF=2.5V) g_MAX5715_device.CODEnLOADn(ch, code); // ch = 3; - code = 0xFFF; + code = 0xFFF; // 100% 2.5V (REF=2.5V) g_MAX5715_device.CODEnLOADn(ch, code); // CODE GENERATOR: example code: has no member function ScanManual