Posts Tagged ‘Arduino Programming’

Interfacing of Arduino with 16×2 LCD Display

#include <LiquidCrystal.h> // initialize the library with the numbers of the interface pins LiquidCrystal lcd(7, 6, A0, A1, A2, A3); void setup() { lcd.begin(16, 2); } void loop() { // Print a message to the LCD. lcd.print(“Welcome…”); delay(4000); lcd.clear(); lcd.print(“Novel Technology”); delay(4000); }

Interfacing of Arduino with 4×4 Keypad

int row[]={11,10,9,8}; int col[]={5,4,3,2}; int i,j; int col_scan; void setup() { Serial.begin(9600); for(i=0;i

Arduino LED Blink Or Control Code With Digital Output Pins and digitalWrite, pinMode Function

Arduino LED Blink Code or Project LED blinking or toggle program is one of the basic practice to test everything working properly. In the blinking program digital pins are on and off continuously with a delay. Arduino Uno is one of very popular board these days, and it is having a build-in LED on pin […]

Understanding How Arduino Serial Port Send Line Feed LF, Carriage Return CR and New Line Character

Arduino Serial Loopback Example with Both NL & CR 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

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

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 […]

Arduino Serial readBytes and Read Bytes Until Functions, Example of Serial.readBytes() and Serial.readBytesUntil()

hi Arduino Serial Read Bytes Function – Serial.readBytes() Arduino Serial.readBytes() Function reads the multiple bytes from the received buffer into a character array (also called buffer). The readBytes function will read the specified number of bytes in the specified variable from serial buffer. The function return the integer value, which specify how many bytes successes-fully read […]

Arduino Serial Read String or Line from Serial Monitor with ReadString Function

test progra Arduino Serial Read String or Line – Serial.readString() Arduino Serial.readString() Function reads the multiple bytes from the Serial Port received buffer into a String variable. The readString function will read all the data received until the timeout. The function return the String data type. The readString() function will complete by timeout time, by default it […]
Learning & Certifications
Follow Us
Facebook Icon   Linked In Icon   Twitter Icon  
Validation and Recognition

Valid CSS! Valid HTML5!          Protected by Copyscape