{"height":"190","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"Bye Bye Moore","description":"\u5b9f\u969b\u306e\u3068\u3053\u308d #include <ros.h> #include <std_msgs/Empty.h> #include <M5Stack.h> ros::NodeHandle nh; bool flag = true; void messageCb( const std_msgs::Empty& toggle_msg){ if ( flag ) { M5.Lcd.fillScreen(WHITE); flag = false; } else { M5.Lcd.fillScreen(BLACK); flag = true; } } ros::Subscriber<std_msgs::Empty\u2026","title":"ROS\u304b\u3089M5stack\u306b\u3075\u308c\u308b\u3000\u305d\u306e\uff12\uff1aL\u30c1\u30ab\u3082\u3068\u3044subscriber","width":"100%","image_url":null,"version":"1.0","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","url":"https://shuzo-kino.hateblo.jp/entry/2022/03/15/235751","type":"rich","blog_url":"https://shuzo-kino.hateblo.jp/","categories":["arduino","ROS"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2022%2F03%2F15%2F235751\" title=\"ROS\u304b\u3089M5stack\u306b\u3075\u308c\u308b\u3000\u305d\u306e\uff12\uff1aL\u30c1\u30ab\u3082\u3068\u3044subscriber - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"shuzo_kino","published":"2022-03-15 23:57:51"}