At RevPiDay 2018, we introduced you to our RevPiPyLoad extension, which allows us to use NodeRed on the Revolution Pi very easily thanks to MQTT. Here we show you how it works. Continue reading “NodeRed with MQTT in the Revolution Pi”
Events and own cyclical tasks
We would like to introduce you a solution to use events and also do your own cyclical tasks at the same time. Continue reading “Events and own cyclical tasks”
GPIO from a RaspberryPi to RevolutionPi
With the RevPiNet * classes, we can access the process image via the network. We now use this function to send the value of a GPIO pin of the Raspberry Pi to our process image. Continue reading “GPIO from a RaspberryPi to RevolutionPi”
Events with the mainloop()
We’re testing the mainloop() here. Continue reading “Events with the mainloop()”
Driver for Virtual Device out of piCtory
We use RevPiModIODriver() to develop a driver for a virtual device in piCtory. Continue reading “Driver for Virtual Device out of piCtory”
Cyclic with little python code
This example introduces you to the cyclic programming with RevPiModIO and the cycleloop(...)
! The program also uses the handlesignalend(…) function to catch the “end of program” signal and exit the program cleanly. Continue reading “Cyclic with little python code”
Benni’s Run – Threads in the mainloop()
We got a nice sample program from Benjamin, which uses as_threads in event handling!
It uses the simulated RPi.GPIO.add_event_callback (…) of RevPiModIO – The function is known by the RaspberryPi. Continue reading “Benni’s Run – Threads in the mainloop()”
XML-RPC Valueserver
In this example, we start an XML RPC server, which can simply retrieve the values of the IOs. Continue reading “XML-RPC Valueserver”
Mirror of infinity (Input=Output)
In this example, we mirror inputs to outputs in a loop. Continue reading “Mirror of infinity (Input=Output)”