UdonLibrary 1.0.0
機械システム研究部 C++ ライブラリ
読み取り中…
検索中…
一致する文字列を見つけられません
Solenoid.hpp
[詳解]
1//
2// 通信用メッセージ
3//
4// Copyright (c) 2022-2024 udonrobo
5//
6
7#pragma once
8
9#include <stdint.h>
11
12namespace Udon
13{
14
15 namespace Message
16 {
17
19 struct Solenoid
20 {
21
23 bool push;
24
25#ifdef ARDUINO
27 void show() const
28 {
29 Serial.print(F("Sole: ")), Serial.print(push), Serial.print('\t');
30 }
31#endif
32
34 };
35
36
37
38 } // namespace Message
39
40} // namespace Udon
#define F(x)
Definition Show.hpp:17
Definition Bit.hpp:12
ソレノイド
Definition Solenoid.hpp:20
bool push
ソレノイドの位置
Definition Solenoid.hpp:23