Created
January 25, 2015 06:53
-
-
Save GOROman/4473018728ba04b7d741 to your computer and use it in GitHub Desktop.
GoProをC#からWifi経由で制御するサンプルプログラム
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/r1pper/GoPro.Hero を使用 | |
using System; | |
using GoPro.Hero; | |
using GoPro.Hero.Hero3; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
// Wifi接続時のGoProのIPアドレス | |
string IP = "10.5.5.9"; | |
// GoProへ接続 | |
var camera = GoPro.Hero.Camera.Create<Hero3Camera>(IP); | |
// 写真撮影モードへ設定 | |
camera.Mode(Mode.Photo); | |
// シャッター | |
camera.OpenShutter(); | |
camera.CloseShutter(); | |
// カメラ設定を得る | |
var setting = camera.Settings(); | |
// カメラ情報を得る | |
var info = camera.Information(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment