Skip to content

Commit 3bc233e

Browse files
committed
added getStatus and getMediaList
1 parent ce48bd8 commit 3bc233e

File tree

6 files changed

+161
-135
lines changed

6 files changed

+161
-135
lines changed

examples/GoProControl/GoProControl.ino

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#include <GoProControl.h>
2-
#include <Secrets.h>
2+
#include "Secrets.h"
33

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

1010
GoProControl gp(GOPRO_SSID, GOPRO_PASS, CAMERA);
@@ -35,7 +35,12 @@ void loop() {
3535

3636
case 's':
3737
Serial.println("Status:");
38-
gp.status();
38+
gp.getStatus();
39+
break;
40+
41+
case 'm':
42+
Serial.println("Media List:");
43+
gp.getMediaList();
3944
break;
4045

4146
// Turn on and off

keywords.txt

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ VR_960p LITERAL1
8989
VR_720p_SuperView LITERAL1
9090
VR_720p LITERAL1
9191
VR_WVGA LITERAL1
92+
DUAL360_FOV LITERAL1
9293
WIDE_FOV LITERAL1
9394
MEDIUM_FOV LITERAL1
9495
NARROW_FOV LITERAL1

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=GoProControl
2-
version=1.1.0
2+
version=1.1.1
33
author=aster94
44
maintainer=aster94, KonradIT
55
sentence=A library that makes using GoPro Cameras a breeze.

0 commit comments

Comments
 (0)