User manual

SetDAchannel DA
Syntax
PROCEDURE SetDAchannel(Channel_no: TDAchannel);
Parameter
Channel_no: Value between 1 and 4 which corresponds to the 8-bit DA channel number in
which the data is to be set to maximum.
Result
The selected DA-channel is set to maximum output voltage.
Description
The selected 8-bit Digital to Analogue Converter channel is set to maximum output voltage.
Example 15
PROGRAM Set_DA_channel;
USES I2C, WinCrt;
BEGIN
SetDAchannel(1);
Writeln('Set DA channel 1 at Vmax');
END;
SetAllDA DA
Syntax
PROCEDURE SetAllDA;
Result
All DA-channels are set to maximum output voltage.
Description
All DA-channels of the 8-bit Digital to Analogue Converters are set to maximum output voltage.
Example
BEGIN
SetAllDA;
// All DA channels 1...4 are at Vmax
END;
OutputDACchannel DAC
Syntax
PROCEDURE OutputDACchannel(Channel_no: Longint; Data: Longint);
Parameters
Channel_no: Value between 1 and 32 which corresponds to the 6-bit DAC channel number in
which the data is to be changed.
Data: Value between 0 and 63 which is to be sent to the 6-bit Digital Analogue Converter .
Result