Added enumeration E_Direction used in Motor and Encoder.