Hi everybody,
I am a beginner programmer. I tried to build a simple drone with Arduino and Naze32. I would like to receive the telemetry from Naze32, but I don't receive anything on Arduino. I enabled CPU based ports and telemetry output on Naze (1. and 2. image)
Next I connected the 6. pin from Naze32 to Arduino Pin no. 10 (3. image).
And lastly, I wrote this code:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup() {
Serial.begin(9600);
while (!Serial) {
;
}
Serial.println("Start!");
mySerial.begin(9600);
}
void loop() {
if (mySerial.available()) {
//String str = String(mySerial.read, HEX);
Serial.write(mySerial.read());
}
}
However, I can't see anything on Serial monitor. (4. image)
P.S.: Sorry, but my English is not the best.



