Skip to content
Toggle navigation
Toggle navigation
This プロジェクト
Loading...
サインイン
呉山勝全
/
iot_platform_example_data_format_by_arduino
Go to a プロジェクト
Toggle navigation
Toggle navigation pinning
プロジェクト
グループ
スニペット
ヘルプ
プロジェクト
アクティビティ
リポジトリ
パイプライン
Graphs
課題
0
マージリクエスト
0
Wiki
Network
new 課題を作成
ビルド
Commits
Issue Boards
ファイル
Commits
Network
Compare
ブランチ
タグ
eab94617
authored
2017-09-22 12:57:29 +0900
by
呉山勝全
ファイルを表示
Options
ファイルを表示
タグ
Download
メール用パッチ
プレーンDiff
sketch_sep20a.inoを更新
1 parent
59599497
Hide whitespace changes
インライン
Side-by-side
Showing
1 changed ファイル
with
2 additions
and
2 deletions
sketch_sep20a/sketch_sep20a.ino
sketch_sep20a/sketch_sep20a.ino
ファイルを表示 @
eab9461
...
...
@@ -3,7 +3,7 @@
//int TRIGGER_INTERVAL_MS = 34000;
struct
Event_State
{
int
state
;
int
state
=
0
;
}
_state
;
void
setup
()
{
...
...
@@ -30,7 +30,7 @@ void output(int skid,int data_renge,int type , char* datas,int crc){
void
trigger
(){
_state
.
state
=
(
_state
.
state
+
1
)
%
3
;
_state
.
state
=
(
_state
.
state
)
%
3
;
if
(
_state
.
state
==
0
){
char
data
[
5
]
=
"0100"
;
...
...
Please
register
or
sign in
to post a コメント