Skip to content

Commit

Permalink
added getStatus and getMediaList
Browse files Browse the repository at this point in the history
  • Loading branch information
aster94 committed Mar 24, 2020
1 parent ce48bd8 commit 3bc233e
Show file tree
Hide file tree
Showing 6 changed files with 161 additions and 135 deletions.
11 changes: 8 additions & 3 deletions examples/GoProControl/GoProControl.ino
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#include <GoProControl.h>
#include <Secrets.h>
#include "Secrets.h"

/*
Control your GoPro with the Serial Monitor
edit the file Secrets.h with your camera netword name and password
CAMERA could be any of HERO3, HERO4, HERO5, HERO6, HERO7, FUSION, HERO8, MAX
CAMERA could be: HERO3, HERO4, HERO5, HERO6, HERO7, FUSION, HERO8, MAX
*/

GoProControl gp(GOPRO_SSID, GOPRO_PASS, CAMERA);
Expand Down Expand Up @@ -35,7 +35,12 @@ void loop() {

case 's':
Serial.println("Status:");
gp.status();
gp.getStatus();
break;

case 'm':
Serial.println("Media List:");
gp.getMediaList();
break;

// Turn on and off
Expand Down
1 change: 1 addition & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ VR_960p LITERAL1
VR_720p_SuperView LITERAL1
VR_720p LITERAL1
VR_WVGA LITERAL1
DUAL360_FOV LITERAL1
WIDE_FOV LITERAL1
MEDIUM_FOV LITERAL1
NARROW_FOV LITERAL1
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=GoProControl
version=1.1.0
version=1.1.1
author=aster94
maintainer=aster94, KonradIT
sentence=A library that makes using GoPro Cameras a breeze.
Expand Down
Loading

0 comments on commit 3bc233e

Please sign in to comment.