説明 CAN bus 上のデータを取得する。 語法 CAN.requestFrom() パラメータ 無 戻り値 取得したbyte 数 例 See also - available() - read() Libraries Reference Home The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
説明 CANのデータ転送。 語法 CAN.endTransmission() パラメータ 無 戻り値 0:成功を表す -1:失敗を表す 例 See also - beginTransmission() - write() Libraries Reference Home The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
説明 指定したデータの送信。 語法 CAN.write(val) CAN.write(buf, len) パラメータ val:送信すべきデータ (unsigned char 型別) buf:送信すべきデータの順序 len:サイズの順序 戻り値 Byte数を書き出す 例 See also - beginTransmission() - endTransmission() Libraries Reference Home The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
説明 伝送状態を初期化する。注意点:この関数の用法とWire関数におけるbeginTransmission() は相似し,必ず後面に近接する write() と endTransmission()連結する必要があり,そうすることにより一次送信は完成する。 語法 CAN.beginTransmission(id) CAN.beginTransmission(id, ext) パラメータ id:外部のCAN device のID数値。 ext:資料送信時の形式。個のパラメーターは必ずしも必要なものではないが,もしこのパラメーターを入力しない場合には,予め CAN_STDIDを設定しておくこと。 CAN_STDID:CAN 2.0A規範に符合し,ID範囲は:0 ~ 0x7FF CAN_EXTID:資料画像を展開し, CAN 2.0B規範を使用する,ID範囲は:0 ~ 0x1FFFFFFF CAN_STDID_REMOTE:標準遠端画像, CAN 2.0A規範に符合し,ID範囲は:0 ~ 0x7FF CAN_EXTID_REMOTE:遠端画像を展開し, CAN 2.0B規範に符合し,ID範囲は:0 ~ 0x1FFFFFFF 戻り値 非戻り値 例 See also - write() - endTransmission() Libraries Reference Home The text of the 86Duino reference is licensed […]
説明 CANBus関数を初期化する。 語法 CAN.begin() CAN.begin(speed) パラメータ speed:CAN の送信速度は,以下の10 種類の速度から選ぶことが可能。このパラメーターは必ずしも必要なものではなく,もし設定を行わなくても,あらかじめ10KBPSで速度が設定されている。 CAN_10KBPS CAN_20KBPS CAN_50KBPS CAN_83K3BPS CAN_100KBPS CAN_125KBPS CAN_250KBPS CAN_500KBPS CAN_833KBPS CAN_1000KBPS 戻り値 非戻り値 例 See also - beginTransmission() - write() - endTransmission() Libraries Reference Home The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released […]
申し訳ありません、このコンテンツはただ今 繁體中文 のみです。
申し訳ありません、このコンテンツはただ今 简体中文と 繁體中文 のみです。
申し訳ありません、このコンテンツはただ今 简体中文、 繁體中文と English のみです。
申し訳ありません、このコンテンツはただ今 简体中文、 繁體中文と English のみです。
申し訳ありません、このコンテンツはただ今 English のみです。