Skip to content

SevSeg 7-segment tutorial error #4247

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

Closed
gkkes opened this issue Dec 3, 2015 · 2 comments
Closed

SevSeg 7-segment tutorial error #4247

gkkes opened this issue Dec 3, 2015 · 2 comments
Assignees
Labels
Type: Invalid Off topic for this repository, or a bug report determined to not actually represent a bug
Milestone

Comments

@gkkes
Copy link

gkkes commented Dec 3, 2015

Just a simple typo, but had me confused for a while.

http://playground.arduino.cc/Main/SevenSegmentLibrary

To install, copy the SevSeg folder into your arduino sketchbook\libraries folder. More detailed instructions are here.

Setting Up

#include "SevSeg.h"
SevSeg sevseg; //Instantiate a seven segment object

void setup() {
byte numDigits = 4;
byte digitPins[] = {2, 3, 4, 5};
byte segmentPins[] = {6, 7, 8, 9, 10, 11, 12, 13};
sevseg.begin(COMMON_ANODE, numDigits, digitPins, segmentPins);
...

digitPins is an array that stores the arduino pin numbers that the digits are connected to. Order them from left to right.

digitPins is an array that stores the arduino pin numbers that the segments are connected to. Order them from segment a to g , then the decimal place.

The bottom line should read -
segmentPins is an array that stores the arduino pin numbers that the segments are connected to. Order them from segment a to g , then the decimal place".

@ffissore
Copy link
Contributor

ffissore commented Dec 3, 2015

Thank you for you issue. "Playground" is a community driven wiki, is not maintained by Arduino. You can edit each page on your own, including the one you found broken

@ffissore ffissore closed this as completed Dec 3, 2015
@ffissore ffissore added the Type: Invalid Off topic for this repository, or a bug report determined to not actually represent a bug label Dec 3, 2015
@ffissore ffissore added this to the Release 1.6.7 milestone Dec 3, 2015
@ffissore ffissore self-assigned this Dec 3, 2015
@per1234
Copy link
Collaborator

per1234 commented Dec 5, 2015

@gkkes I have made the suggested edit to the Arduino Playground page and also submitted a pull request for the updated documentation to the SevSeg repository: DeanIsMe/SevSeg#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Invalid Off topic for this repository, or a bug report determined to not actually represent a bug
Projects
None yet
Development

No branches or pull requests

3 participants