Electronicslovers.com was formed to offer wide range of technical articles, forum, Academic, Industry and Hobby electronics. Please post your articles and get connected.* *Students and Hobbyists can post their Interview questions, Circuits, Programming codes and its working details. Under each article, your Name, Picture and Biography will be visible to all* Share your education story with us.*Like our Facebook page || Donate || Advertise with us
Click here to Donate! || Abid-Photography

Monday, 13 April 2015

Arduino + Virtual Terminal in Proteus


In this tutorial i will show you that how to use Virtual terminal on Proteus using Arduino Uno for Arduino simulation in Proteus you need to Update the Library of Proteus  Click Here and Learn How to Update! i Declared the 9 and 10 pin as Tx Rx  Pins in code the Rest of the Code is very Simple .
CODE:

#include <SoftwareSerial.h>
SoftwareSerial mySerial(9, 10);

void setup()
{
  mySerial.begin(9600);   //set baud rate of Virtual terminal
  Serial.begin(9600);  
  delay(500);
}
int a = 0;
void loop()
{
  a ++;
  if(a > 0 && a < 4 )
  mySerial.println("Hi Hello Electronics Lovers");    //Text you want to send
  delay(2000);
    if(a > 0 && a < 4 )
  mySerial.println("www.Electronicslovers.com");
  delay(2000);

}


0 comments:

Post a Comment

This could be your Company's Ad


ElectronicsLovers. Powered by Blogger.

Contact Form

Name

Email *

Message *