7 Segment Serial Display Using Serial Communication


hello everyone,
i have bought 7 segment serial display sparkfun.  http://www.sparkfun.com/products/9764  wanted use serial communication control this.  have seen examples using software serial library in arduino 1.0, prefer use serial.print (or write, don't know one) control this.  here current code. 
code: [select]

// 7 segment sketch

void setup() {
  serial.begin(9600);  // start serial communication
}

void loop() {
  serial.print(1024);
  delay(1000);
  serial.print(4201);
  delay(1000);
}


it comes out 1420, 4102.  help?

looks had unintended character sent out, causing data wrapped around.
maybe send out 0's in void setup start, send 4 bytes.


Arduino Forum > Using Arduino > Programming Questions > 7 Segment Serial Display Using Serial Communication


arduino

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial