nkolban / jpigpio

A Java interface to the Raspberry Pi pigpio library
Apache License 2.0
39 stars 10 forks source link

Socket version of gpioSetAlertFunc? #3

Open Yaytay opened 8 years ago

Yaytay commented 8 years ago

Hi,

Is there a technical reason for not providing a socket version of gpioSetAlertFunc? pigpio itself seems to provide it.

Thanks

Jim

sovcik commented 8 years ago

Implemented. Look at Test_SocketListen to see how to use.

hexagon-robotics commented 8 years ago

Hello,

Where is Test_SocketListen ?

Best regards

sovcik commented 8 years ago

See here https://github.com/nkolban/jpigpio/tree/master/JPigpio/src/tests

hexagon-robotics commented 8 years ago

Thank you!

I was looking for here, why not find it :)

https://github.com/nkolban/jpigpio/tree/master/JPigpio/tests https://github.com/nkolban/jpigpio/tree/master/JPigpioC/tests

sovcik commented 8 years ago

Sorry for the mess :-) Actually, you can find more complex usage in implementation of Test_Rf433Rx (which is 433MHz radio listener). I played with is a lot and it work very nicely.