Datasheet

EA uniTFT Vorufig
PULSE WIDTH MODULATION (PWM)
Designation Command code Description
PWM output frequency #HFO Frequency32Bit , OnTime(no change),
TotalTime(no change)
Defines the frequency Frequency(2Hz-
1MHz) of the PWM output. Internal splitters
lead to not every frequency being precisely
adjustable. The ratio of on time to off time is
determined by the two parameters OnTi-
me/TotalValue.
Beispiel siehe S. 111
Duty cycle - PWM output #HFD OnTime, TotalTime(no change) Changes the ratio of on time to off time
OnTime/TotalValue.
PORT
Designation Command code Description
Port setting #HPC Port, I/O, ... Setting for the entire port(0-15). In this con-
text, I/O(0-0xFF) defines the respective
port bit as an input (1) or output (0). Further
specifying I/O defines the next higher value
port.
Beispiel siehe S. 111
Set outputs #HPW Port, PortState, ... Bring output of the component Port into the
PortState state (0-255). Further details of
PortState describe the next port com-
ponent.
Beispiel siehe S. 111
Read inputs #HPR Port(0), Number(2) Scans the port component Port(0-15). Mul-
tiple port components can be read with the
number Number(1-16). As the standard,
two port components exist. A more precise
description of the system response can be
found in the chapter Responsens. (#HAR)
(#HPR)
Information on the port
module
#HPI Return of the connected port components.
A more precise description of the system
response can be found in the chapter
Responsens. (#HAR)(#HPI)
Port pin setting #HBC Pin, Output/Input, ... Determines whether the port pin Pin(0-127)
is defined as an input or output Out-
put/Input(0= Output; 1= Input). Further spe-
cifying Output/Input defines the next higher
value Pin.
Set port pin output #HBW Pin, BitState, ... Describes the Bit Statestate (0,1, 2=
invert) of the output pin Pin(0-127). Further
specifying Bit State defines the state of the
next higher value Pin.
Technische Änderung vorbehalten.
Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
Seite 91