Hardware Reference
In-Depth Information
Looking at the differences from the previous
example
The previous example not only relies on the object programming paradigm but
also on the way the information is represented. Indeed, while we will talk with
the BeagleBone Black server in the same way, we'll configure the matrix on the
computer with a totally different point of view by defining a more ergonomic GUI.
Server_3/matrixServer.py Client/Qt/Led_Matrix
As we did in the previous chapters, let's list what is done in this third example,
knowing that a pattern represents the status of all the LEDs in the matrix:
• The graphical interface reuses the matrix representation as shown
previously but in a way that can be adapted to different square matrices.
This is handy for anyone who needs to implement a matrix with a different
size and a few modifications.
• The client is completely rewritten in C++ and uses Qt.
• Each LED's status and color is set directly by a single click of the button.
This allows you to define a pattern with different colors quickly.
• When you think that your pattern is complete, you have the possibility
of saving it into a file or sending it directly.
• You can remove a pattern from the list.
• There is, of course, the possibility of loading some patterns from a file.
 
Search WWH ::




Custom Search