Self-paced course

Web Technologies

Offered by Prof. Dr. Christoph Meinel

LED Matrix 2 - Squares

Instructions:


In this exercise you have the possibility to control an LED-Matrix with JavaScript. This is realized by arrays. For the realization you have to create an two dimensional array, which represents the LED-Matrix. The representation is illustrated in the following graphic. The first array part is symbolizing the x-value and the second the y-value.
Possible integer values for the positions in the Matrix are:

0 - off,
1 - green,
2 - red,
3 - orange

LED Matrix Table

LED Matrix HPI

This Array will be sent with the function tcpclient.sentLEDMatrix(array) to the embedded system with the LED-Matrix.
In fact of a successful transferred „MATRIX OK“ and the captures image of the matrix is the result of the function call.

Task:

Create the corresponding array to show the following graphic on the LED-Matrix.

LED Matrix Red Line


  • Earn bonus points by solving this task.
  • 1.0 points
  • Due on July 17, 2015 at 20:00 (UTC)