Go to advanced search

by PIsingh
Thu Jan 16, 2014 10:06 pm
Forum: General discussion
Topic: help with php web GPIO
Replies: 0
Views: 659

help with php web GPIO

I am a beginner for php & ajax or html for that matter. I have experience in java and c++ but lately i am learning some scripting languages. I am trying to do a very very basic web app with php & ajax, where i will enter a value of 1 in a text html form. And ajax sends that value to php using httpre...
by PIsingh
Tue Jan 07, 2014 3:41 am
Forum: General discussion
Topic: basics of node.js & rpi-gpio module
Replies: 3
Views: 1733

Re: basics of node.js & rpi-gpio module

PIsingh. You have a function there that will write to a pin but you have never used (called) that function. You need to have a call to write somewhere in your program. var gpio = require('rpi-gpio'); gpio.setup(11, gpio.DIR_OUT, write); function write() { gpio.write(11, true, function(err) { if (er...
by PIsingh
Sat Jan 04, 2014 8:09 am
Forum: General discussion
Topic: basics of node.js & rpi-gpio module
Replies: 3
Views: 1733

basics of node.js & rpi-gpio module

All i want to do i something real basic, use the rpi- gpio module to turn a led on. Using the following code var gpio = require('rpi-gpio'); gpio.setup(11, gpio.DIR_OUT, write); function write() { gpio.write(11, true, function(err) { if (err) throw err; console.log('Written to pin'); }); } The code ...
by PIsingh
Sat Jan 04, 2014 2:23 am
Forum: Automation, sensing and robotics
Topic: need simple example for control gpio
Replies: 1
Views: 727

Re: need simple example for control gpio

man!! i am trying to do that same currently looking into node.js npm modules called rpi-gpio @ https://npmjs.org/package/rpi-gpio but had problem figuring out what is the p1 header, p2header is all about. And when you say pin 7 on rpi-gpio does that means pin 7 on the pi as well. totally confuseddd
by PIsingh
Wed Jan 01, 2014 1:49 am
Forum: Java
Topic: Java NetBeans or Eclipse on Raspberry Pi
Replies: 16
Views: 14509

Re: Java NetBeans or Eclipse on Raspberry Pi

I had some time on my hands, so i decided to do the whole tutorial again.. [http://remotevm.abstracthorizon.org/eclipse-tutorial.html] this time even though i didn't get the long error as before, but i got a small error saying........ please help Exception in thread "main" java.lang.NullPointerExcep...
by PIsingh
Wed Jan 01, 2014 1:17 am
Forum: Java
Topic: Java NetBeans or Eclipse on Raspberry Pi
Replies: 16
Views: 14509

Re: Java NetBeans or Eclipse on Raspberry Pi

http://remotevm.abstracthorizon.org/eclipse-tutorial.html First part is somewhat for total beginners while last two chapters are for advanced use. Including remotely starting and debugging Java application. I am a beginner and there are quite a lot that i don't understand but i am going with it. I ...
by PIsingh
Tue Dec 31, 2013 11:57 pm
Forum: Java
Topic: Remote development on RPi
Replies: 11
Views: 4688

Re: Remote development on RPi

Seem like you have mastered the VM stuff. I am a beginner , Can i get some help on setting up the Remote VM, i have followed the turtorial on http://remotevm.abstracthorizon.org/eclipse-tutorial.html , I have put the vm client jar on pi, and it running while on the eclipse, i press run. (not too sur...
by PIsingh
Sun Dec 29, 2013 10:26 am
Forum: Networking and servers
Topic: web server rpi
Replies: 13
Views: 3404

Re: web server rpi

So i got it to work, it was quite silly BTW, i was typing my IP address on my phone, but what i should have been doing, is typing the ip address of my router. As i have used port forward by logging into my router, and added the server service with the pi IP address, with opening the port 8080 on the...
by PIsingh
Sun Dec 29, 2013 10:17 am
Forum: Java
Topic: Java NetBeans or Eclipse on Raspberry Pi
Replies: 16
Views: 14509

Re: Java NetBeans or Eclipse on Raspberry Pi

clicky wrote: just quickly to say that I've added the tutorial for pi4j on RPi with Eclipse on local PC:
http://remotevm.abstracthorizon.org/ecl ... orial.html
this is the best think ever man!!!! i have been looking for something like this for a while now. Thank you so so so so much.
by PIsingh
Sat Dec 28, 2013 2:05 am
Forum: Networking and servers
Topic: web server rpi
Replies: 13
Views: 3404

Re: web server rpi

was really easy i had to ask to my ISP to fix a public ip for me. Thanks to all... Could you explain that what you mean by that? I am having the same problem you were having. I put my raspberry pi IP over my network in a browser every thing works fine, but when i to access it out of my network, i c...
by PIsingh
Sat Dec 28, 2013 1:41 am
Forum: Networking and servers
Topic: External access to apache web server
Replies: 7
Views: 8616

Re: External access to apache web server

I am having the same problem. I was able to install apache2 on my pi and set it up, so that when i go on my laptop or phone which is connected to the same network i was able to get to the "it works!!!!" webpage. But when i used my phone service internet it couldn't connect. BTW i went into my router...
by PIsingh
Wed Dec 25, 2013 12:40 am
Forum: Troubleshooting
Topic: Exception in java.lang.internalError: Can't connect to x11
Replies: 0
Views: 400

Exception in java.lang.internalError: Can't connect to x11

this is my third day researching , googling to find some thing on the topic that works. I have found several solution to this problem but nothing seems to work for me. I have manage to figure that it has something to do with the x server and not my java code. I have hard wired the pi to the my route...

Go to advanced search