Pages: [1]   Go Down
Author Topic: add a test area  (Read 754 times)
0 Members and 1 Guest are viewing this topic.
S.Carolina USA
Offline Offline
Karma: 0
Posts: 16
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

adding a test area would allow someone to test adding code and images


like this

yeaa after 6 trys I got it!

now how to insert code?

#include <SoftwareSerial.h>
// if you myserial.print and get garbage tect try this.
// not all LCD's run at the expected speed use this to test yours

#define rxPin 4  // rxPin is immaterial - not used - just make this an unused Arduino pin number
#define txPin 12 // pin 12 is analog pin 0, on a BBB just use a servo cable :), see Reference pinMode
SoftwareSerial mySerial =  SoftwareSerial(rxPin, txPin);
// mySerial is connected to the TX pin so mySerial.print commands are used
// one could just as well use the software mySerial library to communicate on another pin

int baud=300;// starting point

void setup()
   pinMode(rxPin, INPUT);

   pinMode(txPin, OUTPUT);
   mySerial.begin(4800);      // maybe it is maybe it isn't

   delay(1000);               // pause to allow LCD EEPROM to program
    mySerial.print("it is about");

void loop()
  mySerial.begin(baud);      // test each speed

   delay(4000);               // pause to allow LCD EEPROM to program
    mySerial.print("baud= ");
    baud = (baud*2); // increae baud until readable


ok that works


Seattle, WA USA
Online Online
Brattain Member
Karma: 631
Posts: 50180
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You know there is a Preview button next to the Post button, right? That show what your post is going to look like when you press the Post button.

Pages: [1]   Go Up
Jump to: