Professional Documents
Culture Documents
محاضرة أردوينو 2
محاضرة أردوينو 2
For any logic family, there are a number of threshold voltage levels to
know.
Training & Development Department
training@uruktech.com
VOH – Minimum OUTPUT Voltage level a TTL device will provide for
a HIGH signal.
Program Settings
Main Program
≈3V
≈2V
Syntax:
pinMode(pin, mode)
Parameters:
pin: the Pin number whose mode you wish to set
mode: INPUT or OUTPUT
Syntax:
digitalWrite(pin, value)
Parameters:
pin: the Pin number whose mode you wish to set
value: HIGH or LOW
Syntax:
delay(value)
Parameters:
value: the number of milliseconds to pause