iI want to implement a function in another micro-controller which works like serial.available() serial.available().
i I don't know how it works.
i I read about Serial.available()Serial.available() in this link
https://www.arduino.cc/en/serial/availablethis link.
whenever iWhenever I write a string it on the terminal, it prints the length of the string. can Can anyone tell me how it works??