Artificial intelligent assistant

Arduino間通信時のSerial.write関数の挙動について Arduino Arduino pro micro 2RX.TX `100,111,121,100,111,121...` `100,100,111,121,100,111,111,121...` 100 **:** void setup() { Serial1.begin(115200); } void loop() { Serial1.write(100); Serial1.write(111); Serial1.write(121); } **:** int x, y, z; void setup() { Serial.begin(115200); Serial1.begin(115200); } void loop() { x = Serial1.read(); y = Serial1.read(); z = Serial1.read(); Serial.print(x); Serial.print(","); Serial.print(y); Serial.print(","); Serial.println(z); }

Arduino

2100 100 111 121
read()write()

Serial.print()loop()read()

read()read()Arduino due(pro micro64byte

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy ec96fd409b26b7246d21cb1fecf2e03c