在arduino里面自定义结构 极客工坊没有人会
上位机有一个struct led {int id; int value};arduino同时接收两个数字 arduino的IDE中有结构体这东东? arduino-ice 发表于 2013-1-12 14:51 static/image/common/back.gif
arduino的IDE中有结构体这东东?
应该没有看来只能string转int 就LZ会,LZ世界第一:lol ttyp 发表于 2013-1-14 10:26 static/image/common/back.gif
就LZ会,LZ世界第一
你确定吗? 麽麽茶㊣ 发表于 2013-1-14 10:02 static/image/common/back.gif
应该没有看来只能string转int
但是我肯定里面可以使用字符指针数组。
如:char *test{{qw},{er},{ty}}; arduino-ice 发表于 2013-1-14 14:46 static/image/common/back.gif
但是我肯定里面可以使用字符指针数组。
如:char *test{{qw},{er},{ty}};
谢谢提示
原先想用char a[] = "50,60";逗号来分割所需要的数据。你说的更好点。 arduino-ice 发表于 2013-1-14 14:46 static/image/common/back.gif
但是我肯定里面可以使用字符指针数组。
如:char *test{{qw},{er},{ty}};
char test[] = {{23},{11},{25}}; http://arduino.cc/blog/2010/11/15/ajson-the-arduino-json-library-is-released-in-v1-0/
通过以JSON数据格式进行收发 如{action:'run',speed:500}
页:
[1]