Wednesday, April 6, 2011

7-Segment Serial Display from Sparkfun

The 7-Segment Serial Display from Sparkfun http://www.sparkfun.com/products/9765 came in the mail today. Arunet has a good guide for this product: http://www.arunet.co.uk/tkboyd/ec/ec1led4x7ser.htm. Here's some notes.

- After using it for about 4 minutes the brightness went down. Do this to get it back to maximum brightness:

mySerialPort.print("z");
mySerialPort.print(B00000000,BYTE);


- Changing the baud rate was a little tricky. Sending it "127" and then "4" doesn't work, nor does "1276." I did:

mySerialPort.print(B01111111,BYTE);
mySerialPort.print(B00000100,BYTE);

And finally it changed the baud rate to 19200.

- If it starts showing dots when you don't want them, do this:

mySerialPort.print("w");
mySerialPort.print(B00000000,BYTE);

and the dots should go away.

No comments:

Post a Comment