Adaptation for older version of Arduino.
Adaptation for older version of Arduino.