从 Arduino 获得数据最简单的方式是让此单元直接连接到主机计算机的 Universal Serial Bus (USB) 接口,像串行连接那样读取数据。
The simplest way of getting the data from the Arduino is with the unit connected directly to a host computer Universal Serial Bus (USB) interface, reading the data as if it were a serial connection.
这是因为从xml列读取数据需要串行化或将已解析的XML转换回文本格式。
This is because reading from the XML column requires serialization, or the conversion of parsed XML back to text format.
当然,要做到这一点,需要设置串行控制台(请参阅参考资料以获取这方面的帮助)并且需要一个从串行控制台进行读取的程序。
Of course, to do this, you need to set up the serial console (see Resources for help on this) and you need a program that reads from the serial console.
应用推荐