简体   繁体   中英

Raspberry Pi Tomcat Switch amd LED on page

I new to tomcat and Java, looking for example of a switch and LED on webpage.

I have hardware that has a button and Led. push button and when done LED goes off or flashes if errors.

I would like to trigger remote and see LED.

I found this http://iqjar.com/jar/controlling-the-raspberry-pis-gpio-pins-from-a-web-browser/ and its a start... how do I read the input from hardware LED and show on page.

The webiopi framework will allow you to control the GPIO pins from your browser. webiopi is an Internet of Things (IOT) platform targeting the Raspberry PI.

You can control the GPIO pins via the browser

GPIO控制 By clicking on a pin to set the status.

There is a tutorial here and some more discussion here and here and even a video

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM