Level - is a variable/constant which specifies the DAC output level (0-31).
Set the DAC output level (32 steps, valid value 0-31).
The daclevel command is used to set the DAC output level to one of 32 levels which cover the entire voltage range of the DAC. Therefore each level is 1/32nd of the maximum voltage. A 'readdac' command can also read the DAC value, this is equivalent to a 'readadc command on the DAC level'. A dacsetup command must have been used to setup the DAC before this command will function.
Submit Your Own Code!
You must be logged in to submit code examples. Login now.