About 73,700 results
Open links in new tab
  1. arduino ide - Read int from Serial - Arduino Stack Exchange

    May 31, 2016 · Read int from Serial Ask Question Asked 9 years, 6 months ago Modified 2 years, 8 months ago

  2. Convert serial.read () into a usable string using Arduino

    I'm using two Arduinos to sent plain text strings to each other using NewSoftSerial and an RF transceiver. Each string is perhaps 20-30 characters in length. How do I convert Serial.read() into a s...

  3. How to read from and write to rs232 device from/to Arduino

    May 31, 2021 · Serial.read() or SoftwareSerial.read() only read one single byte from the buffer, but the data from your device spans over multiple bytes, as described on the wiki page, that you linked.

  4. arduino mega - Serial.read () vs. Serial.readBytes ()? - Arduino Stack ...

    I'm trying to do some fairly simple serial communication and have things partially working, but am pretty confused about a couple results I'm getting. For a little background, I'm using an Arduino

  5. How do I read only the first character from serial monitor input and ...

    Feb 17, 2025 · You seem to mix both the LED and the potentiometers on the same Arduino, in that case there is no use for the Serial at all. So if you want to do what I expect (have a local and remote …

  6. Simultaneous Serial reading and writing - Arduino Stack Exchange

    I am trying to read long strings from the Serial, using arduino. In order to spare some RAM I don’t use Serial.readString(). I use Serial.read() instead. During the reading, I also print some debu...

  7. How to avoid blocking while loop reading Serial? - arduino uno

    Mar 29, 2015 · Interestingly enough, Serial.read () does not work like most of us think. Serial.read () is not blocking, it always returns immediately with a byte 0-255 or -1 if there is no character to read. …

  8. arduino - Actual difference between Serial.parseInt () and Serial.read ...

    Jun 20, 2020 · int the code above after serial.available ive used serial.read to read the val but if i use serial.parseint it doesnt work, similarly in every gate function ive used parseint (i know it returns the …

  9. How to do multiple serial.read () - Arduino Stack Exchange

    May 24, 2022 · first of all im new here and im really sorry if there's some mistakes when im making this question. So im trying to make a program to calculate using serial read, and im going to input a lot of …

  10. arduino uno - How to make Serial.read () return an integer instead of ...

    Jul 12, 2020 · I want Serial.read() to return an integer instead of an ASCII value. For example, in the below code if I input 2, I want the output as 2 instead of 50 void setup(){ Serial.begin(); } void loop...