Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9873 Discussions

Apache2 webserver control GPIO

ST5
Beginner
1,032 Views

Hi guys,

I want to access the GPIO pins from a web interface. I know node js can do that.

 

But I want to use Apache for this project. How can i do that?

1 Solution
Pedro_M_Intel
Employee
123 Views

Hello Sanji,

I'm not sure if this can be done on Apache, but if you were to try then you'd have to create system calls from you code in Apache in order interface with the GPIOs.

As you mentioned Node.JS would be able to do this even more considering that MRAA is available for Node.JS which will provide you an easier access to the board's GPIOs.

Peter.

View solution in original post

1 Reply
Pedro_M_Intel
Employee
124 Views

Hello Sanji,

I'm not sure if this can be done on Apache, but if you were to try then you'd have to create system calls from you code in Apache in order interface with the GPIOs.

As you mentioned Node.JS would be able to do this even more considering that MRAA is available for Node.JS which will provide you an easier access to the board's GPIOs.

Peter.

Reply