overloaded init function to allow initialization with multiple modes
make pcan an external dependency
function to set operation mode
change mode of operation from uint8_t to int8_t
allow motor state to be changed in both directions