FlashMat lite library
=====================

The main class is Cell.
An 'fm' object of this class is predefined; this is the object you always use
to draw on the led matrix (see the example).

Before compiling, open the 'fmatdef.h' file to choose your board (FlashMat vs Rainbowduino)
and to set some options.

To draw text, you can use 'fm' itself, but you can also create your own Text object and pass it to 'fm'.
See the 'Text.h' file to know all the variables you can set for a text object.
To use special characters without having to remember their code, use the constants defined in 'characters.h'

When you want to change the text font, you can ask 'Fonts' for another one (by giving its number),
and pass it to the Text object or to 'fm'.
If you want to create your own font, copy the 'font_fm_lite.cpp' file and edit the copy, then edit the 'Fonts.cpp'
file, too, to let the library know about your new font.

Note: this library can be used to customize a single FlashMat cell to any extent you want, but the customized cell
is not compatible with the standard FlashMat masters, with the FlashMatCreator PC software and with the FlashMat_master
library.
To reprogram a standard FlashMat cell you need to program it via ISP, or to burn a bootloader onto it (via ISP, too),
and then upload the sketch via an FTDI USB key.



La classe principale e' Cell.
Un oggetto 'fm' di questa classe e' gia' definito dalla libreria; questo e' l'oggetto che userai
sempre per disegnare sulla matrice led (vedi l'esempio).

Prima di compilare, apri il file 'fmatdef.h' per scegliere la tua board (FlashMat vs Rainbowduino)
e per settare alcune opzioni.

Per disegnare il testo, puoi usare lo stesso oggetto 'fm', ma puoi anche creare il tuo oggetto Text
e passarlo a 'fm'.
Vedi il file 'Text.h' per conoscere tutte le variabili che puoi settare per un oggetto testo.
Per utilizzare caratteri speciali senza bisogno di ricordare il loro codice, usa le costanti
definite in 'characters.h'

Quando vuoi cambiare il font del testo, puoi chiedere a 'Fonts' un altro font (specificando il suo numero),
e passarlo all'oggetto Text o a 'fm'.
Se vuoi creare il tuo font personalizzato, copia il file 'font_fm_lite.cpp' e modifica la copia,
poi modifica anche il file 'Fonts.cpp', per far sapere alla libreria che hai creato un nuovo font.

Nota: questa libreria puo' essere usata per personalizzare una singola cella FlashMat in qualunque modo tu voglia,
ma la cella personalizzata non e' compatibile con i master FlashMat standard, con il software per PC FlashMatCreator
e con la libreria FlashMat_master.
Per riprogrammare la cella FlashMat standard e' necessario programmarla via ISP, o caricarvi sopra un bootloader
(sempre tramite ISP), e poi caricare lo sketch con una chiavetta USB FTDI.