【发布时间】:2020-03-19 09:56:01
【问题描述】:
我是 Arduino 新手,我对它的了解为 0,这也是我第一次使用蓝牙编码,所以我想问一下我如何才能真正从 arduino 接收串行数据并更改我的 android 中的 textview:
我想从 arduino 获取这个值并更改我的 android 中的 textview。所以它将类似于if (xxx == "11"){ textview.setBackgroundColor(Color.RED);},但我不知道如何编写/如何获取 arduino 值并在 android 中声明。
【问题讨论】: