Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ST5
Beginner
958 Views

Apache2 webserver control GPIO

Jump to solution

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
49 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
50 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

Reply