Looks Category

LED Dot-Matrix Display

The face panel of Codey is a 128-LED dot matrix, which can display English characters, numbers, and images.

Coordinate of the Face Panel

As shown in the figure above, the face panel has the upper-left corner as the origin of the coordinate system, and the direction of x and y is indicated by the arrow. Parameters:

  • x: -15 ~ 15
  • y: -7 ~ 7

1. show image () for () secs

Display specified image on Codey's screen for a specified period of time.

Example:

Press Button A, Codey's screen will display these three images consecutively, for 1 second, 0.5 second, and 1 second respectively. After displaying all images, Codey's screen will turn off.


2. show image ()

Display specified image on Codey's screen.

Example:

When Codey starts up, the image will be displayed.


3. show image () at the x:() y:()

Display specified image at specified point of the face panel.

Example:

Press Button A, the image will be displayed at the origin.


4. turn off screen

Turn off Codey's screen.

Example:

Press Button A, the image will be displayed at the origin. One second later, the screen will turn off.


5. show ()

Display English characters, numbers and symbols on Codey's screen.

Example:

Press Button A, Codey's screen will display "12:00".


6. show () until scroll done

Display English characters, numbers and symbols on Codey's screen, and scroll all contents.

Example:

Press Button A, Codey's screen will scroll "morning".


7. show () at x:() y:()

Display English characters, numbers and symbols at specified point of the face panel.

Example:

Press Button A, Codey's screen will display "hi" at the origin.


8. light up x:() y:()

Light up specified dot (x, y) of Codey's face panel.

Parameters:

  • x: 0 ~ 15
  • y: 0 ~ 7

Example:

Press Button A, the dot at (3, 3) will light up.


9. light off x:() y:()

Light off specified dot (x, y) of Codey's face panel.

Parameters:

  • x: 0 ~ 15
  • y: 0 ~ 7

Example:

Press Button A, the dot at (2, 2) will light up, and light off after one second.


10. switch between light-up and light-off x:() y:()

Change the status of specified dot (x, y) of Codey's face panel: light off light-up dot; light up light-off dot.

Parameters:

  • x: 0 ~ 15
  • y: 0 ~ 7

Example:

Press Button A, the dot at (6, 6) will light up. Press Button A again, the dot will light off.


11. x:() y:() is it lighted up?

If specified dot (x, y) of Codey's face panel is lighted up, the report condition is met.

Parameters:

  • x: 0 ~ 15
  • y: 0 ~ 7

Example:

Press Button A, the dot (3, 3) and (5, 5) of Codey's face panel will light up. After 3 seconds, the dot (3, 3) will light off.


results matching ""

    No results matching ""