Git Product home page Git Product logo

jpigpio's People

Contributors

computerlyrik avatar nkolban avatar sovcik avatar xeli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jpigpio's Issues

Installation instructions update

Notes:

1.) Compile java code to .class files:

  • unzip master.zip

  • cd jpigpio-master

  • cd jpigpio

  • mkdir bin

  • javac $(find . -name "*.java") -d bin

2.) Change JPigpio/Makefile install dir: i.e. /home/pi
3.) Change JPigpioC/Makefile to match above: i.e. /home/pi
4.) Make sure JAVA_HOME is set (mine wasn't). Added it to makefile.
5.) Run make from jpigpio-master

How to build or compile against?

Hi,

Sorry if I've missed something but I'm not sure how to get the required jar.

I tried make but it seems to need a file in /mnt/share/opt/lib/Pigpio.jar

Thanks

Sam

MFRC522 Example

Hi there.
I'm trying to use your PIgpio, more exactly the MFRC522 interface but I can really understand how can you continuous looking for when a card is close to the RC522 module.

Do you have any example that can share with us?

Kind regards

PWM support?

Is there a class that wraps around pigpio's PWM support?

Implementation of Serial Functions

Hi,
I'm trying to use this library as a good alternative to WiringPi as it does not require root permissions (at least not for socket access), but I'm missing implementation of serial functions (I'd like to connect serial printer :-).
Would you be so kind and add those?

Thank you.

Jozef.

Error initInitialise: Can't lock /var/run/pigpio.pid

Getting error "Can't lock /var/run/pigpio.pid" when attempting to run Blink_Test as shown below:

pi@raspberrypi:~ $ sudo java -Djava.library.path=/home/pi -jar Desktop/Test_Blink.jar
Test_Blink
2017-12-05 11:36:46 initInitialise: Can't lock /var/run/pigpio.pid
jpigpio.PigpioException: (-1) pigpio initialisation failed
at jpigpio.Pigpio.gpioInitialize(Native Method)
at tests.Test_Blink.run(Test_Blink.java:43)
at tests.Test_Blink.main(Test_Blink.java:30)

Runs but no action.

I finally got JPigpio properly installed and running with pigpio but when I run the Test_Blink or the Test_gpioSetAlertFunc I get no response out or in. I can run another program using pi4j and these same pins respond. Any ideas? I get no error messages and jpgpio test code runs as expected just no I/O.

Java

Do you have a example for Java?

Releasing to maven repository

Hi! For easier development i am trying to release the Build to Maven repository.

I will also update the Documentation about Build & Install some time in the future.

Ticket for requesting a repo at sonatype: https://issues.sonatype.org/browse/OSSRH-28498

I added @nkolban and @sovcik to the developers in metadata of the parent pom.xml.

If i can do something else, please tell me!
Thank you very much for developing this project so far!

Build Problem - Raspberry Pi 3

Hi there.
I'm trying to build your repo, but I always get this error:

pi@raspberrypi:~/jpigpio $ ./build.sh 
rm -f /home/pi/jpigpio/Pigpio.jar
jar -cvf /home/pi/jpigpio/Pigpio.jar -C bin jpigpio
bin/jpigpio : no such file or directory
added manifest
Makefile:4: recipe for target 'install' failed
make: *** [install] Error 1
rm -f *.o libJPigpioC.so jpigpio_Pigpio.h /home/pi/jpigpio/libJPigpioC.so
javah -cp ../JPigpio/bin jpigpio.Pigpio
Error: Could not find class file for 'jpigpio.Pigpio'.
Makefile:15: recipe for target 'jpigpio_Pigpio.h' failed
make: *** [jpigpio_Pigpio.h] Error 1
pi@raspberrypi:~/jpigpio $ 

Can you tell me whats happening?
Kind regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.