Changes

Raspberry Pi

1,119 bytes added, 23:15, 19 April 2013
no edit summary
**play a file: <code>omxplayer -o hdmi ~/Movies/robot_playing_catch.mp4</code>
*play script: http://www.raspberrypi.org/phpBB3/viewtopic.php?t=9789&p=112154
 
==OSC==
===liblo===
To use liblo to write an OSC client and server in C, first install the liblo development package on both the computer you would like to broadcast from (the client) and the computer that will receive the messages (the server). Using APT:
<code>apt-get install liblo-dev</code>
 
Then, visit http://liblo.sourceforge.net/ and navigate to the example code or documentation. The example code provides a simple client and server. If you're just copying and pasting these, and would like to quickly compile them and test that they work, do the following for the server:
<nowiki>
wget http://liblo.sourceforge.net/examples/example_server.c
gcc -o server example_server.c -llo
./server</nowiki>
And for the client:
<nowiki>
wget http://liblo.sourceforge.net/examples/example_client.c</nowiki>
Then on the line defining an <code>lo_address</code>, change <code>NULL</code> to the IP address of your server. Finally
<nowiki>
gcc -o client example_client.c -llo
./client</nowiki>
If you've done everything successfully, you should see a variety of sample output from the running <code>server</code> program.
=Hardware Peripherals=
*install cups
**<code>sudo apt-get install cups</code>
**will take willtake a little while
*install menu item:
**<code>sudo apt-get install system-config-printers</code>
3
edits