Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Quick comment: It looks like you are trying to open a hardware serial port and a software serial port. Two serial ports! Is that what you really wanted to do? Commented Mar 21, 2023 at 12:51
  • @st2000 I think Konrad wants to read from a scale TCS150 and forward the reading to the Arduino Terminal. So both channel are required. The Serial.available if statement is not needed, there is no writing from the terminal to the Arduino. I would do it like if (myserial.available()){ Serial.write(myserial.read()); }. And delete the rest of the code in the loop() routine. Commented Mar 21, 2023 at 13:32