marcostuurman
Member
Hi all,
I've been trying to setup a extra serial connection through hwserial3 to a adafruit FTDI friend serial to usb adapter. When the teensy transmits data from pin 8 it's never received by the serial adapter, though data can be received from the serial adapteron pin 7.
When I try to loopback on the FTDI Friend I receive data. When I run this code on the teensy it shows nothing:
void setup() {
Serial.begin(9600);
Serial3.begin(9600);
}
void loop() {
delay(500);
if (Serial3.available()) {
Serial3.write("test");
delay(100);
int inByte = Serial3.read();
Serial.write(inByte);
}
}
Is my unit defective or am I doing something wrong?
Thanks!
Marco
I've been trying to setup a extra serial connection through hwserial3 to a adafruit FTDI friend serial to usb adapter. When the teensy transmits data from pin 8 it's never received by the serial adapter, though data can be received from the serial adapteron pin 7.
When I try to loopback on the FTDI Friend I receive data. When I run this code on the teensy it shows nothing:
void setup() {
Serial.begin(9600);
Serial3.begin(9600);
}
void loop() {
delay(500);
if (Serial3.available()) {
Serial3.write("test");
delay(100);
int inByte = Serial3.read();
Serial.write(inByte);
}
}
Is my unit defective or am I doing something wrong?
Thanks!
Marco