Displayotron and php


#1

Hi, I have a Displayotron 3000 for a pi and it all works fine in python. I am running an apache webserver: my question: can i get get php to write directly to the display or do i have to go via a python script or something? thanks in advance

(I get that i could recode all the php in python directly but that’s work…)


#2

Your best bet is you use a Python wrapper that’s then called from PHP. While it’s possible, in theory, to run all the Dot3k devices directly from PHP (using WiringPi PHP perhaps) it would be a pretty monumental effort to actually write the library for this. A thin wrapper around a Python script to do the heavy lifting is a perfectly acceptable compromise :D


#3

Thanks for the speedy reply. Regards