Browse Source

Add note about ofxJSON dependency to remote ctrl examples

master
Krisjanis Rijnieks 7 years ago
parent
commit
5d94036f8b
  1. 8
      example_remote-client/README.md
  2. 8
      example_remote-server/README.md

8
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

8
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

Loading…
Cancel
Save