PCA9622Matrix8x8.Demo (pca9622matrix8x8 v0.1.3)

Copy Markdown

Sample GenServer that counts up once a second and shows the current number on the matrix via PCA9622Matrix8x8.CharGen.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the demo GenServer, which starts PCA9622Matrix8x8 (with a column refresh interval of ms) and counts up once a second on the matrix.

Stops the demo GenServer along with the underlying PCA9622Matrix8x8 driver.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(ms \\ 0)

Starts the demo GenServer, which starts PCA9622Matrix8x8 (with a column refresh interval of ms) and counts up once a second on the matrix.

stop()

Stops the demo GenServer along with the underlying PCA9622Matrix8x8 driver.