Hardware Reference
In-Depth Information
From the client side
Based on the previous client-server scenario, it will be handy to add a graphical
interface to the client in order to visually control the matrix. The GUI must be
able to run on most known platforms, smartphones included.
We also want to control each LED color from the client side. Obviously, using all
the available LED colors is now required, so we will add a dedicated control to the
interface for this purpose.
From the server side
In the previous example, our focus was on the basic concepts to validate the project;
we now intend to improve it. On the other side, the main evolution of the server is to
find a way to allow each LED to evolve one after the other in a "traditional" direction,
that is, from the top-left to bottom-right.
Actually, this is not exactly true. If you take a look at the provided code, you can see
that some more functionality has already been implemented, but we will see this at
the end of this second part:
Server_2/matrixServer.py Client/client2.py
Improving the client with Kivy
Using the Python language, Kivy is an open source library that can be used to code
graphical interfaces easily. With Kivy, you can run your project's executable on many
targets, such as Windows, Linux, OS X, Android, and iOS. Multitouch is something
that is also possible.
 
Search WWH ::




Custom Search