Skip to main content
2 of 2
added 27 characters in body; edited title
dda
  • 1.6k
  • 1
  • 12
  • 18

Serial.available() function for Arduino

I want to implement a function in another micro-controller which works like serial.available(). I don't know how it works. I read about Serial.available() in this link.

Whenever I write a string on the terminal, it prints the length of the string. Can anyone tell me how it works?

Beginner
  • 43
  • 2
  • 9