From 5d94036f8bae06fa0cf5f5df0a67720a1fbf9185 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Tue, 27 Mar 2018 00:21:42 +0200 Subject: [PATCH] Add note about ofxJSON dependency to remote ctrl examples --- example_remote-client/README.md | 8 ++++++++ example_remote-server/README.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/example_remote-client/README.md b/example_remote-client/README.md index 557787f..0b9c292 100644 --- a/example_remote-client/README.md +++ b/example_remote-client/README.md @@ -11,3 +11,11 @@ This example demonstrates a TCP **client** for ofxPiMapper remote control. The o In reality this example should be used as the remote control residing on your laptop computa. Set up your Raspberry Pi, connect it to the same network as your laptop and get to know the IP address of the Raspberry Pi. Update `bin/data/config.json` with the IP address of your Raspberry Pi and launch the app! **Warning!** Sources are not being sent. Click once with the mouse after the application launches to see the borders of the surfaces. There should be a green rectangle visible in the top left corner of the screen if the connection is successful. + +## Dependencies + +JSON is used as the data format between ofxPiMapper remote control server and client, therefore additionally [ofxJSON](https://github.com/jeffcrouse/ofxJSON) addon is used. Install it by using the following lines of bash code. + +``` +cd openFrameworks/addons +git clone https://github.com/jeffcrouse/ofxJSON.git diff --git a/example_remote-server/README.md b/example_remote-server/README.md index 68d6b60..5e0ba3d 100644 --- a/example_remote-server/README.md +++ b/example_remote-server/README.md @@ -14,3 +14,11 @@ The client should know the following. - The **IP address** of the Raspberry Pi with the server. - The port, which is **9999** in this case. + +## Dependencies + +JSON is used as the data format between ofxPiMapper remote control server and client, therefore additionally [ofxJSON](https://github.com/jeffcrouse/ofxJSON) addon is used. Install it by using the following lines of bash code. + +``` +cd openFrameworks/addons +git clone https://github.com/jeffcrouse/ofxJSON.git