Archive for July, 2019
Arduino Serial Print and Println Function to Send Integer Variable And Text Program Code
July 11th, 2019 Nilesh Chaurasia
Arduino Serial print Function Application Serial.write() function send the data in ASCII code. It means if you want to send the value of a integer variable with the help of write function you have to convert value into ASCII format. For example if suppose a variable x having value 87 x = 87; and we […]
Understanding How Arduino Serial Port Send Line Feed LF, Carriage Return CR and New Line Character
July 23rd, 2019 Nilesh Chaurasia
Arduino Serial Port Line Ending Characters Arduino Serial Port write function send all the character in the string specified. write() function to send a string Serial.write(“Hello World!”); Note: This code simply send the 12 bytes one by one to send the complete string over serial port. Many times we need to send some additional character […]
Arduino Serial find Function Syntax And Example Code of Serial.find(), timeout
July 25th, 2019 Nilesh Chaurasia
What is Arduino Serial find Function Arduino Serial find Function reads the received buffer and test for specified string or word present or not. This function returns a boolean value. If specified string is present in the buffer than the function return true, otherwise return false. By default the find function wait for one second […]
Arduino Serial finduntil Function and its Application with Example
July 27th, 2019 Nilesh Chaurasia
What is Arduino Serial findUntil Function Arduino Serial findUntil Function reads the received buffer and test for specified string or word present or not. If specified string is present in the buffer than the function return the true, otherwise return false. By default the findUntil function wait for terminating character before it return false. The […]