sparkfun / Serial7SegmentDisplay

Example code and board files for the Serial 7 Segment Display.
https://www.sparkfun.com/products/11629
95 stars 73 forks source link

Support for SevSeg library and S7S hardware #6

Closed nseidle closed 12 years ago

nseidle commented 12 years ago

Large merge. Please test.

With this merge, Serial7Segment hardware should now be fully supported using the SevSeg library. To prove this, find this line in Serial_7_Segment_Display_Firmware:

#define DISPLAY_TYPE OPENSEGMENT

and change to:

#define DISPLAY_TYPE SERIAL7SEGMENT

Be sure you have the latest SevSeg library and compile and load onto a S7S hardware. Then, on an Arduino, load the Serial_ColonDots example code. Connect Pin 8 of Arduino to S7S. This will correctly control all segments and blink the colon, apostrophe, and decimal 4.

There are a few new features as well including hardware reset of baud and other. To test, pull the RX pin to ground, then power up S7S unit with nothing else attached. It will display '----'s for 4 seconds, then 0-000. The unit will then be reset to 9600bps.

jimblom commented 12 years ago

Awesome. Seems to be working really well. I like the hardware factory reset. Merging!