123
Fork of LG by
Diff: DeviceSequencer.c
- Revision:
- 197:7a05523bf588
- Parent:
- 173:7f938afb0447
diff -r f76dbc081e63 -r 7a05523bf588 DeviceSequencer.c --- a/DeviceSequencer.c Fri Sep 23 05:34:50 2016 +0000 +++ b/DeviceSequencer.c Wed Oct 19 10:55:05 2016 +0000 @@ -190,8 +190,8 @@ } else if (device.sequencer.output.analog.state.enabled) { device.sequencer.output.analog.state.voltage = device.sequencer.sampler.state.voltage; //Warning! bit 16 - 0/1: Update rate 1MHz/400kHz; bits 15...6 - code; bits 5...0 - reserved, write 000000 - //LPC_DAC->DACR = sequencerOutput(device.sequencer.output.analog.state.voltage); - LPC_DAC->CR = sequencerOutput(device.sequencer.output.analog.state.voltage); + LPC_DAC->DACR = sequencerOutput(device.sequencer.output.analog.state.voltage); + //LPC_DAC->CR = sequencerOutput(device.sequencer.output.analog.state.voltage); } //Process sequencer state device.sequencer.sampler.state.position[0]++;