Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
1
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

message station > ..v0.20 > シリアル基本コマンド実装完了

https://hackaday.io/project/9526-bring-your-own-pizero-byop
でBYOPの核となるMessage stationの実装

http://qiita.com/7of9/items/ba3a4ca8b05786f89239
の続き

v0.20 @ github

シリアルコマンド

通信プロトコル
http://qiita.com/7of9/items/a62a6f21b00923fe3658

実行例

シリアルモニタの入力例

hello,1,7of9
check
post,Vital,hello_Vital,0
bye
hello,2,Vital
check
get
bye

シリアルモニタの出力例

hello,7of9
check,0
[DEBUG] proc_post > line126 > post,Vital,hello_Vital,0
rcver:Vital
msg:hello_Vital
bye,7of9
hello,Vital
check,1
get,hello_Vital
bye,Vital

DONE: 一部デバッグ用出力(rcver:xxx, msg:xxx)が残っている。
TODO: 電源OFFでメッセージが消える鬼仕様。SPIFFS使用など検討中。
TODO: postした時にLCDには"msg,posted"と表示するが、シリアルでは応答を入れてなかった

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
1
Help us understand the problem. What are the problem?