Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
example
  • Loading branch information
turbyho committed Mar 30, 2017
1 parent ce5401d commit 81307b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Dabduino_example_1/DABDUINO_example_1.ino
Expand Up @@ -72,7 +72,7 @@ void setup() {

dab.getProgramIndex(&programsIndex);
Serial.println("Available programs: ");
for (unsigned int i = 1; i <= programsIndex; i++) {
for (unsigned int i = 0; i <= programsIndex; i++) {
if (dab.getProgramLongName(i, dabText)) {
Serial.print(i);
Serial.print("\t ");
Expand All @@ -89,7 +89,7 @@ void setup() {
Serial.println("Set volume");
}

programIndex = 1;
programIndex = 0;

if (dab.playDAB(programIndex)) {
if (dab.getProgramLongName(programIndex, dabText)) {
Expand Down

0 comments on commit 81307b4

Please sign in to comment.