24 template <
typename Message>
43 , node{ buffer,
Size, 0 }
50 , node{ buffer,
Size, 0 }
57 if (millis() - node.transmitMs > timeOut)
76 Serial.print(
F(
"receive failed!"));
83 for (
auto&& it : buffer)
#define F(x)
Definition Show.hpp:17
IM920のインターフェース
Definition IIm920.hpp:31
Im920Reader(const Im920Reader &other)
Definition Im920Reader.hpp:47
Im920Reader(IIm920 &im920)
Definition Im920Reader.hpp:40
void showRaw() const
送信バッファを表示
Definition Im920Reader.hpp:81
Udon::Optional< Message > getMessage(uint32_t timeOut=700) const
Definition Im920Reader.hpp:55
void show() const
送信内容を表示
Definition Im920Reader.hpp:68
Message MessageType
Definition Im920Reader.hpp:30
static constexpr size_t Size
Definition Im920Reader.hpp:28
オプショナル型
Definition Optional.hpp:62
Definition AirCylinder.hpp:16
Udon::Optional< T > Deserialize(ArrayView< const uint8_t > buffer)
バイト列からオブジェクトに逆シリアル化します
Definition Serializer.hpp:87
void Show(Args &&... args)
区切り文字ありで出力する
Definition Show.hpp:339
constexpr size_t SerializedSize() noexcept
Tをシリアライズした際のバイト列の要素数を取得する
Definition Serializer.hpp:22
constexpr NulloptT nullopt
無効値
Definition Optional.hpp:52
IM920ノード
Definition IIm920.hpp:20