How to use serial.write() in Arduino.






-          First you have to declare it with board rate 9600

Serial.begin(9600);  

-          Then we check is serial port is available. If available then we write data to it.

if (Serial.available()>0)

{

      Serial.Write(byte data);

}

Comments

Post a Comment

Popular posts from this blog

How to make and use web service in Microsoft Dynamics Navision.

How to use Format function in Microsoft Dynamics Navision.

How to create simple report in Microsoft Dynamics Navision.