比如现在我有一个String:rawData,里面是红外数据
String rawData = "8968, 4488, 654, 1656, 652, 552, 652, 554, 650, 552, 652, 552, 654, 552, 652, 552, 650, 552, 652, 1652, 654, 552, 654, 552, 648, 1656, 652, 554, 650, 552, 652, 552, 650, 554, 650, 552, 650, 552, 650, 552, 650, 552, 652, 554, 654, 1658, 652, 554, 650, 552, 650, 554, 650, 552, 652, 552, 654, 554, 648, 1656, 654, 550, 654, 1654, 654, 552, 650, 552, 650, 1652, 656, 554, 650, 19986, 654, 552, 654, 554, 650, 554, 650, 552, 650, 552, 652, 556, 652, 552, 650, 552, 652, 552, 650, 556, 652, 554, 650, 550, 654, 552, 652, 1658, 648, 552, 650, 552, 654, 552, 654, 554, 648, 554, 652, 552, 654, 554, 650, 552, 650, 552, 650, 552, 654, 552, 654, 554, 652, 552, 648, 552, 652, 554, 652, 1656, 650, 1656, 652, 552, 652";
我要如何把它转化为irsend.sendRaw用的uint16_t,就像
uint16_t rawData[139] = {8968, 4488, 654, 1656, 652, 552, 652, 554, 650, 552, 652, 552, 654, 552, 652, 552, 650, 552, 652, 1652, 654, 552, 654, 552, 648, 1656, 652, 554, 650, 552, 652, 552, 650, 554, 650, 552, 650, 552, 650, 552, 650, 552, 652, 554, 654, 1658, 652, 554, 650, 552, 650, 554, 650, 552, 652, 552, 654, 554, 648, 1656, 654, 550, 654, 1654, 654, 552, 650, 552, 650, 1652, 656, 554, 650, 19986, 654, 552, 654, 554, 650, 554, 650, 552, 650, 552, 652, 556, 652, 552, 650, 552, 652, 552, 650, 556, 652, 554, 650, 550, 654, 552, 652, 1658, 648, 552, 650, 552, 654, 552, 654, 554, 648, 554, 652, 552, 654, 554, 650, 552, 650, 552, 650, 552, 654, 552, 654, 554, 652, 552, 648, 552, 652, 554, 652, 1656, 650, 1656, 652, 552, 652};
注:(“[139]”)的139我存在一个名为“value_tap”的int变量里