where RGB_TYPE is a macro defined by the SmartMatrix library, backgroundLayer is the background layer object and kBackgroundLayerOptions contains the options for the layer as defined by the SmartMatrix library. The fontChoices are those that are provided by the Smart Matrix library.
This has been working quite reliably for me for a while now, so I hope it's useful to you.
Adds the ability to use SmartMatrix hardware as a MenuOut device. Requires the SmartMatrix library and a background layer to be set up already.
To use:
where
RGB_TYPE
is a macro defined by the SmartMatrix library,backgroundLayer
is the background layer object andkBackgroundLayerOptions
contains the options for the layer as defined by the SmartMatrix library. ThefontChoices
are those that are provided by the Smart Matrix library.This has been working quite reliably for me for a while now, so I hope it's useful to you.