Skip to content

Support for SevSeg library and S7S hardware #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 5, 2012
Merged

Support for SevSeg library and S7S hardware #6

merged 4 commits into from
Nov 5, 2012

Conversation

nseidle
Copy link
Member

@nseidle nseidle commented Nov 5, 2012

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.

Added basic SPI control and SPI control of settings. Works well. Also
re-named some of the examples to make it more clear
To use the additional pins, PB6 and PB7, on the ATmega328 we have to add
some maps to the pins_arduino.h file. This allows Arduino to identify
PB6 and digital pin 22, and PB7 as digital pin 23.
Code should now work on Serial7Segment hardware directly. Use the
Serial_ColonDots example sketch to test it.
@jimblom
Copy link

jimblom commented Nov 5, 2012

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

jimblom pushed a commit that referenced this pull request Nov 5, 2012
Support for SevSeg library and S7S hardware
@jimblom jimblom merged commit 79ec0f9 into sparkfun:master Nov 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants