@@ 1,17 1,17 @@
Utility to receive OSC messages to control rasperry pi's GPIO pins.
osc_gpio [port] [address]
gpiosc [port] [address]
address is optional and it will default on reacting to incoming message on `/gpio`.
Received OSC messages should have two int argument: the first is the GPIO number to address (any number from 1 to 27 is valid) and the second is the value to set (any value greater than 0 will be treated as HIGH, the others as LOW). As soon as a message for a pin is received the first time, that pin mode is set to OUTPUT.
To quit the program you can use SIGINT by pressing CTRL+C or sending a SIGTERM with another console with `killall osc_gpio`.
To quit the program you can use SIGINT by pressing CTRL+C or sending a SIGTERM with another console with `killall gpiosc`.
@@ 20,12 20,12 @@ you need `liblo` installed (included dev packages) in your system, then you buil
sudo apt-get install build-essential
sudo apt-get install liblo7 liblo-dev
git clone https://git.sr.ht/~npisanti/osc_gpio
git clone https://git.sr.ht/~npisanti/gpiosc
then you will have an executable in `bin/osc_gpio`.
then you will have an executable in `bin/gpiosc`.
To build in debug mode, you should `make clean` first and then `make debug`, the output executable will have the same name.