Go to advanced search

by dbrazzor
Fri Apr 22, 2016 1:58 pm
Forum: Java
Topic: Java and I2C Display
Replies: 27
Views: 10421

Re: Java and I2C Display

Hello!

I am currently recoding it, I will put it on Github :)

Regards,
dbrazzor
by dbrazzor
Wed Apr 20, 2016 4:47 pm
Forum: Java
Topic: Java and I2C Display
Replies: 27
Views: 10421

Re: Java and I2C Display

Hello Matt, thanks for your help! I just tried with PI4J 1.1 (Sorry, I was busy with school projects :?), It works pretty well, but sometimes I got some weirdness going on : https://verteam.files.wordpress.com/2016/04/img_20160420_182709.jpg https://verteam.files.wordpress.com/2016/04/img_20160420_1...
by dbrazzor
Mon Apr 18, 2016 7:18 pm
Forum: Java
Topic: Java and I2C Display
Replies: 27
Views: 10421

Re: Java and I2C Display

When I use the following code (found in I2CLcdSampleApp) :

Code: Select all

I2CLcd lcd = new I2CLcd(16, 2);
        lcd.setText(0, "Welcome!");
I got the following error :
http://pastebin.com/yTx6zm9y :?

(Sorry for the multiple posts and the inconvenience)
by dbrazzor
Mon Apr 18, 2016 6:00 pm
Forum: Java
Topic: Java and I2C Display
Replies: 27
Views: 10421

Re: Java and I2C Display

Hello! No worries, Happy birthday! :D I have to say, you made my day! Your code works with my setup, I've been searching for something like this for weeks! Here is a video of the code running on my display : https://drive.google.com/open?id=0BxgwY-dcqcmzcVRBdkdnSFUzekE Can you explain me how should ...
by dbrazzor
Thu Apr 14, 2016 2:05 pm
Forum: General programming discussion
Topic: Crontab, Screen and Java
Replies: 8
Views: 2353

Re: Crontab, Screen and Java

Thanks for your answer! I changed the script (which looks like this now : http://pastebin.com/cEvNm1jM ) But nothing changed, I still don't have any detached screen on reboot :? It works perfectly without screen, maybe a problem with the environment? I saw some posts saying the crontab line should s...
by dbrazzor
Thu Apr 14, 2016 11:26 am
Forum: Media centres
Topic: ScottTV- A Simple MediaPlayer For My Autistic Son
Replies: 10
Views: 2474

Re: ScottTV- A Simple MediaPlayer For My Autistic Son

Really good initiative, one of the best usage of the Pi I've seen so far, keep up the hard work!
by dbrazzor
Tue Apr 12, 2016 10:43 am
Forum: General programming discussion
Topic: Crontab, Screen and Java
Replies: 8
Views: 2353

Re: Crontab, Screen and Java

Thanks for your answers! stderr : This is what I get when printenv runs with contab : http://pastebin.com/xFkLZs7g I can get the java application running without screen, it must be the problem :? scruss : The application use WiringPi and needs to be executed with sudo, do crontab executes commands w...
by dbrazzor
Mon Apr 11, 2016 9:43 pm
Forum: General programming discussion
Topic: Crontab, Screen and Java
Replies: 8
Views: 2353

Crontab, Screen and Java

Hello! I've searched a lot but still didn't find the solution to my problem :cry: I have a Java application which works perfectly on a detached screen when I run the command "screen -S twitter java -jar /home/pi/Twitter\ Bot\ Server.jar" manually. I want it to be executed at reboot. I am using cront...
by dbrazzor
Mon Apr 11, 2016 1:59 pm
Forum: Java
Topic: Java and I2C Display
Replies: 27
Views: 10421

Re: Java and I2C Display

Haw okay, I tried this distribution again but got the same results :?

dbrazzor
by dbrazzor
Mon Apr 11, 2016 1:50 pm
Forum: Java
Topic: Java and I2C Display
Replies: 27
Views: 10421

Re: Java and I2C Display

Hello, thanks a lot but I don't see any new distribution on your Drive :c
Have you received the display? Hope you'll enjoy it :)
by dbrazzor
Sat Apr 09, 2016 9:34 pm
Forum: Java
Topic: Java and I2C Display
Replies: 27
Views: 10421

Re: Java and I2C Display

I am running it with a Pi model 1 - B+.

I tried the command, it gives me some infos and turn of the display's backlight off but nothing else :? (http://pastebin.com/ZJDjtJ74).

Regards,
dbrazzor
by dbrazzor
Sat Apr 09, 2016 3:33 pm
Forum: Java
Topic: Java and I2C Display
Replies: 27
Views: 10421

Re: Java and I2C Display

I tried the command but got the following error : http://pastebin.com/fpZvjRmu

The log file : http://pastebin.com/czjTyqWM

Thanks for the help!

dbrazzor
by dbrazzor
Fri Apr 08, 2016 9:22 pm
Forum: Java
Topic: Java and I2C Display
Replies: 27
Views: 10421

Re: Java and I2C Display

Thanks again, but I can't find the link to your Drive :? (Or am I just exhausted?)

I already saw the PI4J I2CLcdDisplay class but I can't figure out some values, like rs, rw, d4 ➔ d7.

Really appreciate the help :)

dbrazzor
by dbrazzor
Fri Apr 08, 2016 7:59 pm
Forum: Java
Topic: Java and I2C Display
Replies: 27
Views: 10421

Re: Java and I2C Display

Thanks Matt! I've never used the diozero library before, I was happy with PI4J :) I installed it but I got the following error : " Error: no device provider factory service found, please configure META-INF/services/com.diozero.internal.spi.NativeDeviceFactoryInterface or set -Dcom.diozero.devicefact...
by dbrazzor
Thu Apr 07, 2016 12:39 pm
Forum: Java
Topic: Java and I2C Display
Replies: 27
Views: 10421

Java and I2C Display

Hello! I recently bought a LCD display (HD44780 - 1602 - 16x2) and a I2C module that should allow me to save some precious pins on the Pi, it runs with a PCF8574T chip, this one looks like this : https://verteam.files.wordpress.com/2016/04/i2c.jpg I found a lot of Python scripts that worked almost p...

Go to advanced search