PMX ArduinoLib ステータス定数一覧

『PMX Library for Arduino』のステータスの定数一覧について解説します。

 

【解説】

『PMX Library for Arduino』はPMXサーボのステータスがどのような状態を示しているかわかりやすいように定数にしてご用意しています。

 

【一覧】

namespace PmxStatusErrorList
{
    constexpr byte SystemError = 0x01;      //!< System Error
    constexpr byte MotorError = 0x02;       //!< Motor Error
    constexpr byte CommunicationError = 0x04; //!< Communication Error
    constexpr byte CommandError = 0x08;       //!< Command Error
    constexpr byte RamAccessError = 0x10;     //!< RAM Access Error
    constexpr byte ModeError = 0x20;       //!< Mode Error
    constexpr byte DataError = 0x40;       //!< Data Error
}

 

 

リファレンスの目次に戻る