Teensy 4.0 Serial3.read not working for Bluetooth?

Hi, i am trying to change strain gauge calibration value via Serial read and its working on
Serial.read but when Bluetooth is connected on serial port 3 than Serial3.read does not read the value.
Any help?

if(Serial3.available())
{
char temp = Serial3.read();
if(temp == '+' || temp == 'a')
calibration_factor += 100;
else if(temp == '-' || temp == 'z')
calibration_factor -= 100;
}

not working.

Have you tried a serial over Bluetooth tutorial for the module you are using?

jfjlaros, thank you for replying.

i am using hc-05 its, working fine with arduino but incase of teensy i have connected the bluetooth with rx3 and tx3 which is 3rd serial port, with this configuration i can read the data but not able to write. i have changed the bluetooth but still not working.

is there any issue with teensy 4.0 3rd serial port or its not working with the teensy 4.0 i have?

I really do not know, but perhaps you could have a look at this project. They use a Teensy.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.