Back to project page android-gpio-controller.
The source code is released under:
GNU General Public License
If you think the Android project android-gpio-controller listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.github.petermuller.raspberrypigpiocontroller; // w ww. ja v a2 s . c om /** * Created by Peter on 1/1/2015. */ public class OutputHandler { /** * The socket client handles all communications to the RasPi GPIO server */ private SocketClient sc; /** * Default constructor. Do not use. */ public OutputHandler() {} /*Don't use this*/ /** * Constructor for using socket communication. * @param sc SocketClient for GPIO server communication */ public OutputHandler(SocketClient sc){ this.sc = sc; } /** * The UI to server data transfer * @param pin The pin number to change * @param value The pin PWM value to set */ public void handleOutput(int pin, int value){ //TODO unstub } }