Outils pour utilisateurs

Outils du site


affichevarduino2vga

Création d'afficheur à base d'Arduino et d'écrans recyclés

La bonne librairie Arduino

Autre sources

Connecteur DIY VGA sur l'Arduino

utilisation de l'outil de transformation d'images de la librairie VGAX

Creer une image Bitmap 2 ou 3 couleurs de 120 x 60 pixels

Ouvrir /Arduino/libraries/VGAX/tools/2bitimage.html dasn un naviguateur et suivre la procédure :

  • uploader l'image
  • selectionner output number format: decimal
  • décocher generate data as a single line
  • attention au nom dela variable qui devra etre le meme que le schech arduino
  • cliquer sur generate
  • copier coller le tableau de nombre.

Code Arduino

Pour ZOTELI :

arduino_test_vga_img_zoteli.ino

#include <VGAX.h>

//image generated from 2BITIMAGE - by Sandro Maffiodo
//image generated from 2BITIMAGE - by Sandro Maffiodo
//image generated from 2BITIMAGE - by Sandro Maffiodo
#define IMG_ONAIR_WIDTH 120
#define IMG_ONAIR_BWIDTH 30
#define IMG_ONAIR_HEIGHT 60
//data size=1800 bytes
  const unsigned char img_onair_data[IMG_ONAIR_HEIGHT][IMG_ONAIR_BWIDTH] PROGMEM={
{ 255, 255, 255, 169,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85, 111, 255, 255, 255, },
{ 255, 255, 229,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85, 191, 255, 255, },
{ 255, 254,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  86, 255, 255, },
{ 255, 245,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  95, 255, },
{ 255, 213,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  87, 255, },
{ 255,  85,  85,  91, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 249,  85,  85,  85, 255, },
{ 253,  85,  85, 191, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 213,  85,  85, 127, },
{ 249,  85,  91, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254,  85,  85, 111, },
{ 245,  85, 111, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 229,  85,  95, },
{ 245,  85, 127, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 249,  85,  91, },
{ 245,  85, 191, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 253,  85,  87, },
{ 229,  85, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 213,  95, 255, 255, 245, 127, 253,  85,  85,  87, 255, 255, 254,  85,  87, },
{ 213,  86, 255, 255, 255, 255, 255, 245,  95, 255, 245, 127, 255, 255, 255,  85,  87, 255, 255, 245, 127, 253,  85,  85,  85, 255, 255, 255,  85,  86, },
{ 213,  87, 255, 245,  87, 255, 255, 245,  95, 255, 245, 127, 255, 255, 255,  85,  87, 255, 255, 245, 127, 253,  85,  85,  85, 127, 255, 255, 149,  86, },
{ 149,  87, 255, 213,  85, 127, 255, 245,  87, 255, 245, 127, 255, 255, 253,  85,  85, 255, 255, 245, 127, 253,  95, 255,  85,  95, 255, 255, 213,  85, },
{  85,  91, 255,  85,  85,  95, 255, 245,  87, 255, 245, 127, 255, 255, 253,  87,  85, 255, 255, 245, 127, 253,  95, 255, 213,  95, 255, 255, 213,  85, },
{  85,  95, 255,  85,  85,  95, 255, 245,  87, 255, 245, 127, 255, 255, 253,  87,  85, 127, 255, 255, 255, 253,  95, 255, 245,  87, 255, 255, 213,  85, },
{  85,  95, 255,  87, 245,  87, 255, 213,  85, 255, 245, 127, 255, 255, 253,  95, 213, 127, 255, 255, 255, 253,  95, 255, 253,  87, 255, 255, 213,  85, },
{  85,  95, 255,  87, 253,  87, 255, 213,  85, 255, 245, 127, 255, 255, 253,  95, 213, 127, 255, 255, 255, 253,  95, 255, 253,  87, 255, 255, 213,  85, },
{  85,  95, 255,  87, 253,  87, 255, 213,  85, 127, 245, 127, 255, 255, 253,  95, 245,  95, 255, 245, 127, 253,  95, 255, 255,  87, 255, 255, 213,  85, },
{  85,  95, 255,  87, 255,  87, 255, 213, 213, 127, 245, 127, 255, 255, 253,  95, 245,  95, 255, 245, 127, 253,  95, 255, 253,  87, 255, 255, 213,  85, },
{  85,  95, 255,  87, 255,  85, 255, 213, 213, 127, 245, 127, 255, 255, 253,  95, 253,  87, 255, 245, 127, 253,  95, 255, 213,  87, 255, 255, 213,  85, },
{  85,  95, 255,  87, 255,  85, 255, 213, 245, 127, 245, 127, 255, 255, 253,  95, 253,  87, 255, 245, 127, 253,  85,  85,  85,  87, 255, 255, 213,  85, },
{  85,  95, 255,  87, 255, 213, 255, 213, 245, 127, 245, 127, 255, 255, 245,  95, 255,  85, 255, 245, 127, 253,  85,  85,  85,  95, 255, 255, 213,  85, },
{  85,  95, 255,  87, 255, 213, 255, 213, 245,  95, 245, 127, 255, 255, 245,  95, 255,  85, 255, 245, 127, 253,  85,  85,  85, 255, 255, 255, 213,  85, },
{  85,  95, 255,  87, 255, 213, 127, 213, 245,  95, 245, 127, 255, 255, 245,  95, 255,  85, 255, 245, 127, 253,  85, 127, 255, 255, 255, 255, 213,  85, },
{  85,  95, 255,  87, 255, 213, 127, 213, 245,  95, 245, 127, 255, 255, 245, 127, 255, 213, 127, 245, 127, 253,  85, 127, 255, 255, 255, 255, 213,  85, },
{  85,  95, 253,  87, 255, 213, 127, 213, 253,  95, 245, 127, 255, 255, 245, 127, 255, 213, 127, 245, 127, 253,  85,  95, 255, 255, 255, 255, 213,  85, },
{  85,  95, 253,  87, 255, 245, 127, 213, 253,  95, 245, 127, 255, 255, 245, 127, 255, 213, 127, 245, 127, 253,  85,  95, 255, 255, 255, 255, 213,  85, },
{  85,  95, 253,  95, 255, 245, 127, 213, 253,  87, 245, 127, 255, 255, 245, 127, 255, 245, 127, 245, 127, 253,  85,  87, 255, 255, 255, 255, 213,  85, },
{  85,  95, 253,  95, 255, 245, 127, 213, 253,  87, 245, 127, 255, 255, 245, 127, 213,  85,  95, 245, 127, 253,  93,  87, 255, 255, 255, 255, 213,  85, },
{  85,  95, 253,  95, 255, 245, 127, 213, 253,  87, 245, 127, 255, 255, 245,  85,  85,  85,  95, 245, 127, 253,  93,  85, 255, 255, 255, 255, 213,  85, },
{  85,  95, 253,  95, 255, 245, 127, 213, 127,  87, 245, 127, 255, 255, 245,  85,  85,  85,  95, 245, 127, 253,  95,  85, 255, 255, 255, 255, 213,  85, },
{  85,  95, 253,  87, 255, 245, 127, 213, 127,  85, 245, 127, 255, 255, 245,  85,  87, 253,  95, 245, 127, 253,  95,  85, 255, 255, 255, 255, 213,  85, },
{  85,  95, 253,  87, 255, 245, 127, 245, 127,  85, 245, 127, 255, 255, 245, 127, 255, 253,  95, 245, 127, 253,  95, 213, 127, 255, 255, 255, 213,  85, },
{  85,  95, 253,  87, 255, 245, 127, 245, 127, 213, 117, 127, 255, 255, 245, 127, 255, 253,  95, 245, 127, 253,  95, 213, 127, 255, 255, 255, 213,  85, },
{  85,  95, 255,  87, 255, 245, 127, 245, 127, 213, 117, 127, 255, 255, 245, 127, 255, 253,  95, 245,  95, 253,  95, 245,  95, 255, 255, 255, 213,  85, },
{  85,  95, 255,  87, 255, 245, 127, 245, 127, 213, 117, 127, 255, 255, 245, 127, 255, 253,  87, 245,  95, 253,  95, 245,  95, 255, 255, 255, 213,  85, },
{  85,  95, 255,  87, 255, 245, 127, 245, 127, 245, 117, 127, 255, 255, 245, 127, 255, 253,  87, 245,  95, 253,  87, 245,  87, 255, 255, 255, 213,  85, },
{  85,  95, 253,  87, 255, 245, 127, 245, 127, 245,  85, 127, 255, 255, 245, 127, 255, 253,  87, 253,  95, 253,  87, 253,  85, 255, 255, 255, 213,  85, },
{  85,  95, 253,  87, 255, 245, 127, 245, 127, 245,  85, 127, 255, 255, 245, 127, 255, 255,  87, 253,  95, 253,  87, 253,  85, 255, 255, 255, 213,  85, },
{  85,  95, 253,  87, 255, 213, 127, 245, 127, 245,  85, 127, 255, 255, 245, 127, 255, 255,  87, 253,  95, 255,  87, 255,  85, 127, 255, 255, 213,  85, },
{  85,  95, 253,  87, 255, 213, 127, 245, 127, 253,  85, 127, 255, 255, 245, 127, 255, 255,  87, 253,  95, 255,  87, 255, 213,  95, 255, 255, 213,  85, },
{  85,  95, 253,  87, 255, 213, 127, 245, 127, 253,  85, 127, 255, 255, 245, 127, 255, 255,  87, 253,  95, 255,  87, 255, 213,  85, 255, 255, 149,  85, },
{  85,  95, 253,  87, 253,  85, 255, 213, 127, 253,  85, 127, 255, 255, 245, 127, 255, 255,  87, 253,  95, 255,  87, 255, 245,  85, 127, 255,  85,  85, },
{  85,  91, 255,  85,  85,  85, 255, 213, 127, 253,  85, 255, 255, 255, 245, 127, 255, 255,  87, 253,  95, 253,  87, 255, 253,  85,  95, 255,  85,  86, },
{ 149,  87, 255,  85,  85,  87, 255, 213, 255, 253,  87, 255, 255, 255, 245, 127, 255, 255,  87, 253,  95, 253,  87, 255, 255, 213,  95, 254,  85,  87, },
{ 149,  86, 255,  85,  85,  95, 255, 213, 255, 253,  87, 255, 255, 255, 245, 127, 255, 255,  87, 253,  95, 253,  87, 255, 255, 245,  95, 253,  85,  87, },
{ 213,  85, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,  87, 253,  95, 253,  95, 255, 255, 253,  95, 249,  85,  91, },
{ 213,  85, 191, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 245,  85,  95, },
{ 229,  85, 111, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 229,  85,  95, },
{ 245,  85,  86, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 149,  85,  95, },
{ 249,  85,  85,  95, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 249,  85,  85, 111, },
{ 253,  85,  85,  85, 191, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 149,  85,  85, 127, },
{ 255,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85, 255, },
{ 255, 213,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  87, 255, },
{ 255, 245,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  95, 255, },
{ 255, 255, 149,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85, 191, 255, },
{ 255, 255, 254,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  91, 255, 255, },
{ 255, 255, 255, 249,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85, 106, 255, 255, 255, },
};
//data size=1800 bytes
//image generated from 2BITIMAGE - by Sandro Maffiodo
#define IMG_VARNAME_WIDTH 120
#define IMG_VARNAME_BWIDTH 30
#define IMG_VARNAME_HEIGHT 60
//data size=1800 bytes
const unsigned char img_guyelaine_data[IMG_VARNAME_HEIGHT][IMG_VARNAME_BWIDTH] PROGMEM={
{ 255, 255, 255, 252,  60,  60, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255,   0, 192,  48,  63, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 252,   3,   0,  48,  12,  63, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 192,  15,   0,  48,   3,  15, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255,   0,  12,   0,  48,   3,   0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 240,   0,  48,   0,  48,   3, 192,  63, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 240,   0,  48,   0,  48,   0, 192,  15, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 192,   0, 192,   0, 192,   0, 192,  15, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255,   0,   0, 192,   0, 192,   0, 192,   3, 255, 234, 170, 255, 170, 191, 223, 255, 125,  85,  95, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 252,   0,   3,   0,   0, 192,   0,  48,   0, 255, 255, 254, 254, 255, 239, 215, 255, 125, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 252,   0,   3,   0,   0, 192,   0,  48,   0, 255, 255, 251, 251, 255, 251, 221, 255, 125, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 240,   0,   3,   0,   0, 192,   0,  48,   0,  63, 255, 239, 251, 255, 251, 221, 255, 125, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 240,   0,  12,   0,   0, 192,   0,  48,   0,  63, 255, 191, 251, 255, 251, 223, 127, 125,  85, 127, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 192,   0,  12,   0,   0, 192,   0,  48,   0,  15, 255, 191, 251, 255, 251, 223, 223, 125, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 192,   0,  12,   0,   0, 192,   0,  48,   0,  15, 254, 255, 251, 255, 251, 223, 247, 125, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 192,   0,  12,   0,   3,   0,   0,  48,   0,  15, 251, 255, 251, 255, 251, 223, 247, 125, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 192,   0,  60,   0,   3,   0,   0,  48,   0,  15, 239, 255, 254, 255, 239, 223, 253, 125, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 192,   0,  48,   0,   3,   0,   0,  48,   0,  15, 234, 170, 255, 170, 191, 223, 255, 125,  85,  95, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 192,   0,  48,   0,   3,   0,   0,  48,   0,  15, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 192,   0,  48,   0,   3,   0,   0,  48,   0,  15, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 192,   0,  48,   0,   3,   0,   0,  48,   0,  15, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 192,   0,  48,   0,   3,   0,   0, 192,   0,  15, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 192,   0,  48,   0,  12,   0,   0, 192,   0,  15, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 192,   0,  48,   0,  12,   0,   0, 192,   0,  15, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 192,   0,  48,   0,  12,   0,   0, 192,   0,  15, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 240,   0,  48,   0,  12,   0,   0, 192,   0,  63, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 240,   0,  48,   0,  12,   0,   3,   0,   0,  63, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 240,   0,  48,   0,  12,   0,   3,   0,   0,  63, 170, 170, 186, 170, 189, 255, 253,  85,  93, 255, 253, 223, 213,  95, 223, 245,  87, 253, 255, 247, },
{ 252,   0,  48,   0,  12,   0,   3,   0,   0, 255, 255, 191, 251, 255, 253, 255, 253, 255, 253, 255, 253, 223, 127, 247, 223, 223, 253, 253, 127, 247, },
{ 252,   0,  60,   0,  12,   0,  12,   0,   3, 255, 255, 191, 251, 255, 253, 255, 253, 255, 255, 127, 247, 223, 127, 247, 223, 127, 255, 125, 223, 247, },
{ 255,   0,  12,   0,   0,   0,  12,   0,   3, 255, 255, 191, 251, 255, 253, 255, 253, 255, 255, 127, 247, 223, 127, 255, 223, 127, 255, 125, 223, 247, },
{ 255,   0,  12,   0,  48,   0,  12,   0,  15, 255, 255, 191, 250, 170, 253, 255, 253,  85, 127, 223, 223, 223, 213, 255, 223, 127, 255, 125, 247, 247, },
{ 255, 192,  12,   0,  48,   0,  48,   0,  63, 255, 255, 191, 251, 255, 253, 255, 253, 255, 255, 223, 223, 223, 255,  95, 223, 127, 255, 125, 253, 247, },
{ 255, 192,  12,   0,  48,   0,  48,   0,  63, 255, 255, 191, 251, 255, 253, 255, 253, 255, 255, 247, 127, 223, 255, 247, 223, 127, 255, 125, 255, 119, },
{ 255, 192,  12,   0,  48,   0, 192,   0, 255, 255, 255, 191, 251, 255, 253, 255, 253, 255, 255, 247, 127, 223, 127, 247, 223, 127, 255, 125, 255, 119, },
{ 255, 240,   3,   0,  48,   0, 192,   3, 255, 255, 255, 191, 251, 255, 253, 255, 253, 255, 255, 253, 255, 223, 127, 247, 223, 223, 253, 253, 255, 215, },
{ 255, 240,   3,   0,  48,   3,   0,  15, 255, 255, 255, 191, 250, 170, 189,  85,  93,  85,  95, 253, 255, 223, 213,  95, 223, 245,  87, 253, 255, 247, },
{ 255, 252, 255,   0, 192,   3,   0,  63, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 252, 255, 255, 240,  12,   0,  63, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255,  63, 255, 255, 255,   0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255,  63, 255, 255, 255, 243, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 207, 255, 255, 255, 207, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 207, 255, 255, 255,  63, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 243, 255, 255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 240,  63, 255, 243, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 240, 240,   0, 195, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255,  15, 255, 255, 255, 255, 239, 255, 239,  85,  95, 213,  87, 253,  85,  95, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 252, 255, 255,  63, 255, 255, 255, 255, 239, 255, 255, 127, 247, 223, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 252, 207, 255,  63, 255, 255, 255, 255, 239, 255, 239, 127, 247, 223, 255, 125, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 252, 243,  12, 255, 255, 255, 255, 255, 239, 255, 239, 127, 247, 223, 255, 125, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 240,  51,  60, 255, 255, 255, 255, 255, 239, 255, 239,  85,  95, 223, 253, 253,  85, 127, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 195,   0,   0, 255, 255, 255, 255, 255, 239, 255, 239, 127, 247, 213,  85, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 193,  85, 240,  63, 255, 255, 255, 255, 239, 255, 239, 127, 247, 223, 255, 125, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 193,  85,  92,  63, 255, 255, 255, 255, 239, 255, 239, 127, 247, 223, 255, 125, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 193,  85,  80,  63, 255, 255, 255, 255, 239, 255, 239, 127, 247, 223, 255, 125, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 205,  85,  80,  63, 255, 255, 255, 255, 234, 170, 239,  85,  95, 223, 255, 221,  85,  95, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 195, 245,  80,  63, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 192,   0,   0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 240,   0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
};
VGAX vga;

void setup() {
  vga.begin();
  vga.copy((byte*)img_guyelaine_data);
}
void loop() {
  static unsigned cnt;
  if (!(cnt % 10))
    vga.noTone();
  if (!(cnt++%20))
    vga.tone(cnt*10+11);
  if (cnt>=1600)
    cnt=0;
  if (cnt>800)
    vga.copy((byte*)img_guyelaine_data);
  else
    vga.copy((byte*)img_onair_data);
}
pour le chafouin

vgax_images_chafoin.7z

#include <VGAX.h>
//image generated from 2BITIMAGE - by Sandro Maffiodo
#define IMG_OUV_WIDTH 120
#define IMG_OUV_BWIDTH 30
#define IMG_OUV_HEIGHT 60
//data size=1800 bytes
const unsigned char img_ouv_data[IMG_OUV_HEIGHT][IMG_OUV_BWIDTH] PROGMEM={
{ 255, 255, 245,  87, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 245,  85, 255, 255, 247, 255, 255, 253, 127,  95, 255, 255, 255, 255, 255, 245,  87, 255, 255, 213,  95, 255, 255, 213, 127,  85,  85, 127, },
{ 255, 255, 213,  85, 127, 255, 213, 255, 255, 245,  95,  87, 255, 255, 255,  95, 255, 213,  85,  95, 255,  85,  85, 255, 255,  85,  85,  85,  85,  95, },
{ 255, 255, 220,  53,  95, 255, 213, 255, 255, 245,  95,  87, 255, 255, 253,  87, 255,  85,  85,  87, 253,  85,  85, 127, 255, 213,  85,  85,  85,  95, },
{ 255, 255,  84,  13,  95, 255, 213, 255, 255, 245,  95,  87, 255, 255, 253,  87, 253,  85, 245,  87, 253,  80, 213,  95, 255, 255,  85,  87, 255, 255, },
{ 255, 253,  84,   1,  87, 255, 213, 255, 255, 253,  95,  87, 255, 255, 253,  95, 253,  87, 255, 255, 253,  80,   5,  87, 255, 255, 255,  87, 255, 255, },
{ 255, 253,  84,   3,  87, 255, 213, 127, 255, 253,  95,  87, 255, 255, 253,  95, 253,  95, 255, 255, 253,  80,  13,  87, 255, 255, 255,  87, 255, 255, },
{ 255, 245,  80,   0,  87, 255, 245, 127, 255, 253,  95,  87, 255, 255, 253,  95, 253,  95, 255, 255, 253,  80,   0,  85, 255, 255, 255,  87, 255, 255, },
{ 255, 245,  80,   0,  87, 255, 245, 127, 255, 253,  95,  87, 255, 255, 253,  95, 253,  95, 255, 255, 253,  80,   0, 213, 127, 255, 255,  87, 255, 255, },
{ 255, 245,  64,   0,  87, 255, 245, 127, 255, 253,  95,  87, 255, 255, 253,  95, 253,  95, 255, 255, 253,  80,   0,  53, 127, 255, 255,  87, 255, 255, },
{ 255, 213,  64,   0,  87, 255, 245, 127, 255, 253,  95,  87, 255, 255, 245,  95, 245,  95, 255, 255, 253,  80,   0,   5,  95, 255, 255,  87, 255, 255, },
{ 255, 213,  64,   0,  85, 255, 213, 127, 255, 253,  95,  87, 255, 255, 245, 127, 245, 127, 255, 255, 253,  80,   0,  13,  95, 255, 255,  87, 255, 255, },
{ 255, 213,  64,   0, 213, 255, 213, 127, 255, 253,  95,  87, 255, 255, 245, 127, 245, 127, 255, 255, 253,  80,   0,   1,  95, 255, 255,  87, 255, 255, },
{ 255, 213, 192,   0,  21, 255, 245, 127, 255, 245, 127,  87, 255, 255, 245, 127, 245, 127, 255, 255, 253,  80,   0,   1,  95, 255, 255,  87, 255, 255, },
{ 255, 213,   0,   0,  21, 255, 245, 127, 255, 245, 127,  87, 255, 255, 245, 127, 245, 127, 255, 255, 253,  80,   0,   1,  95, 255, 255,  87, 255, 255, },
{ 255,  85,   0,   0,  21, 127, 213, 127, 255, 245,  95,  87, 255, 255, 245, 127, 245, 127, 255, 255, 253,  80,   0,   5,  95, 255, 255,  87, 255, 255, },
{ 255,  85,   0,   0,  53, 127, 213, 127, 255, 253,  95,  87, 255, 255, 245, 127, 245, 127, 255, 255, 253,  80,   0, 213,  95, 255, 255,  87, 255, 255, },
{ 255,  85,   0,   0,   5, 127, 213, 127, 255, 253,  95,  87, 255, 255, 245, 127, 245, 127, 255, 255, 253,  80,  13,  85, 127, 255, 255,  87, 255, 255, },
{ 255,  85,   0,   0,   5, 127, 213, 127, 255, 253,  95,  87, 255, 255, 213, 127, 245, 127, 255, 255, 253,  85,  85,  85, 255, 255, 255,  87, 255, 255, },
{ 255,  84,   0,   0,   5, 127, 213, 255, 255, 253,  95,  87, 255, 255, 213, 255, 245, 127, 255, 255, 253,  85,  85,  87, 255, 255, 255,  87, 255, 255, },
{ 255,  84,   0,   0,   5, 127, 213, 255, 255, 253,  95,  87, 255, 255, 213, 255, 213, 127, 255, 255, 253,  85,  85, 127, 255, 255, 255,  87, 255, 255, },
{ 255,  84,   0,   0,   5, 127, 213, 255, 255, 253,  95,  87, 255, 255,  85, 255, 213, 127, 255, 255, 253,  85, 127, 255, 255, 255, 255,  87, 255, 255, },
{ 255,  84,   0,   0,   5, 127, 213, 255, 255, 253,  95,  87, 255, 255,  87, 255, 213, 255, 255, 255, 253,  85, 127, 255, 255, 255, 255,  87, 255, 255, },
{ 255,  84,   0,   0,   5, 127, 213, 255, 255, 253,  95,  87, 255, 255,  87, 255, 213, 255, 255, 255, 253,  85,  95, 255, 255, 255, 255,  87, 255, 255, },
{ 255,  84,   0,   0,  53, 127, 213, 255, 255, 253,  95,  87, 255, 255,  87, 255, 213, 255, 255, 255, 253,  85,  87, 255, 255, 255, 255,  87, 255, 255, },
{ 255,  84,   0,   0,  21, 127, 213, 255, 255, 245,  95,  87, 255, 255,  87, 255, 213, 255, 255, 255, 253,  93,  87, 255, 255, 255, 255,  87, 255, 255, },
{ 253,  84,   0,   0,  21, 127,  85, 255, 255, 245,  95,  87, 255, 255,  87, 255, 213, 253,  87, 255, 253,  95,  85, 255, 255, 255, 253,  87, 255, 255, },
{ 253,  84,   0,   0,  21, 127,  85, 255, 255, 245,  95,  85, 255, 253,  87, 255, 213,  85,  85, 255, 253,  95, 213, 255, 255, 255, 253,  95, 255, 255, },
{ 253,  84,   0,   0,  21, 127,  85, 255, 255, 245,  95, 213, 255, 253,  95, 255, 213,  85,  85, 255, 253,  95, 213, 127, 255, 255, 253,  95, 255, 255, },
{ 253,  84,   0,   0,  21, 127,  85, 255, 255, 245,  95, 213, 255, 253,  95, 255, 213,  85, 127, 255, 253,  95, 245,  95, 255, 255, 253,  95, 255, 255, },
{ 253,  84,   0,   0,  21, 127,  85, 255, 255, 245,  95, 213, 255, 253,  95, 255, 213, 255, 255, 255, 253,  95, 253,  95, 255, 255, 253,  95, 255, 255, },
{ 253,  84,   0,   0,  21, 127,  85, 255, 255, 245,  95, 213, 255, 253,  95, 255, 213, 255, 255, 255, 253,  95, 253,  87, 255, 255, 253,  95, 255, 255, },
{ 253,  84,   0,   0,  21, 127,  85, 255, 255, 245,  95, 213, 127, 253,  95, 255, 213, 255, 255, 255, 253,  95, 255,  87, 255, 255, 253,  95, 255, 255, },
{ 253,  84,   0,   0,  21, 127,  85, 255, 255, 245,  95, 245, 127, 245,  95, 255, 213, 255, 255, 255, 253,  95, 255,  87, 255, 255, 253,  95, 255, 255, },
{ 253,  84,   0,   0,  21, 127,  85, 255, 255, 245,  95, 245, 127, 245, 127, 255, 213, 255, 255, 255, 253,  95, 255,  85, 255, 255, 253,  95, 255, 255, },
{ 253,  84,   0,   0,  21, 127,  85, 255, 255, 245,  95, 245, 127, 245, 127, 255, 213, 255, 255, 255, 253,  95, 255, 213, 255, 255, 253,  95, 255, 255, },
{ 253,  84,   0,   0,  53, 127,  85, 255, 255, 253,  95, 245, 127, 245, 127, 255,  85, 255, 255, 255, 253,  95, 255, 213, 255, 255, 253,  95, 255, 255, },
{ 253,  84,   0,   0,  53, 127,  85, 255, 255, 253,  95, 245, 127, 245, 127, 255,  87, 255, 255, 255, 253,  95, 255, 213, 127, 255, 253,  95, 255, 255, },
{ 253,  92,   0,   0,  21, 127,  87, 255, 255, 245,  95, 245, 127, 213,  95, 255,  87, 255, 255, 255, 253,  95, 255, 245, 127, 255, 253,  95, 255, 255, },
{ 253,  80,   0,   0,  21, 127,  87, 255, 255, 245,  95, 245, 127, 213,  95, 255,  87, 255, 255, 255, 253,  95, 255, 245, 127, 255, 253,  95, 255, 255, },
{ 253,  80,   0,   0,  21, 127,  87, 255, 255, 245,  95, 245, 127, 213,  95, 255,  87, 255, 255, 255, 253,  95, 255, 245, 127, 255, 253,  95, 255, 255, },
{ 253,  80,   0,   0,  21, 127,  87, 255, 255, 245,  95, 245, 127, 213,  95, 255,  87, 255, 255, 255, 253,  95, 255, 245, 127, 255, 253,  95, 255, 255, },
{ 253,  80,   0,   0, 213, 127,  87, 255, 255, 245,  95, 245, 127,  85, 127, 255,  87, 255, 255, 255, 253,  95, 255, 245, 127, 255, 253,  95, 255, 255, },
{ 253,  92,   0,   0,  85, 127,  87, 255, 255, 213,  95, 245, 127, 213, 127, 255,  87, 255, 255, 255, 253,  95, 255, 245,  95, 255, 253,  95, 255, 255, },
{ 253,  92,   0,   0,  85, 127,  87, 255, 255, 213,  95, 245, 127, 213, 127, 255,  87, 255, 255, 255, 253,  95, 255, 253,  95, 255, 253,  95, 255, 255, },
{ 253,  80,   0,   0,  85, 255,  87, 255, 255, 213, 127, 245, 127, 213, 127, 255,  87, 255, 255, 255, 253,  95, 255, 253,  95, 255, 253,  95, 255, 255, },
{ 253,  80,   0,   0,  85, 255,  87, 255, 255, 213, 127, 245, 127, 213, 127, 255,  87, 255, 255, 255, 253,  95, 255, 253,  95, 255, 253,  95, 255, 255, },
{ 253,  80,   0,   0,  85, 255,  87, 255, 255, 213, 127, 245, 127, 213, 127, 255,  87, 255, 255, 255, 253,  95, 255, 253,  95, 255, 253,  95, 255, 255, },
{ 253,  80,   0,   3,  87, 255,  87, 255, 255, 213, 255, 245, 127, 213, 255, 255,  87, 255, 255, 255, 253,  95, 255, 253,  95, 255, 253,  95, 255, 255, },
{ 253,  92,   0,   1,  87, 255,  87, 255, 255,  85, 255, 245, 127,  85, 255, 255,  87, 255, 255, 255, 253,  95, 255, 253,  95, 255, 253,  95, 255, 255, },
{ 253,  84,   0,   1,  87, 255,  85, 255, 255,  85, 255, 245, 127,  85, 255, 255,  87, 255, 255, 255, 253,  95, 255, 253,  95, 255, 253,  95, 255, 255, },
{ 253,  84,   0,   1,  95, 255,  85, 255, 255,  87, 255, 245,  95,  85, 255, 255,  85, 255, 255, 255, 253,  95, 255, 253,  95, 255, 253,  95, 255, 255, },
{ 255,  87,   0,  13,  95, 255, 213, 255, 255,  87, 255, 253,  95,  87, 255, 255, 213, 127, 255, 255, 253,  95, 255, 253,  87, 255, 253,  95, 255, 255, },
{ 255,  85,   0,   5,  95, 255, 213, 127, 253,  87, 255, 253,  85,  87, 255, 255, 213,  85,  85,  87, 253,  95, 255, 255,  87, 255, 253,  95, 255, 255, },
{ 255, 213, 192,  53, 127, 255, 245, 127, 253,  95, 255, 255,  85,  95, 255, 255, 245,  85,  85,  85, 253,  95, 255, 255,  87, 255, 253,  95, 255, 255, },
{ 255, 213,  64,  21, 127, 255, 245,  95, 245,  95, 255, 255,  85,  95, 255, 255, 255,  85,  85,  85, 253,  95, 255, 255,  87, 255, 253,  95, 255, 255, },
{ 255, 213,  64, 213, 127, 255, 245,  95, 245,  95, 255, 255,  85,  95, 255, 255, 255, 255, 255, 255, 255,  95, 255, 255, 215, 255, 253,  95, 255, 255, },
{ 255, 245,  85,  85, 255, 255, 253,  85,  85, 127, 255, 255, 213,  95, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,  95, 255, 255, },
{ 255, 245,  85,  85, 255, 255, 253,  85,  85, 127, 255, 255, 213,  95, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
};
//image generated from 2BITIMAGE - by Sandro Maffiodo
#define IMG_CHAF_WIDTH 120
#define IMG_CHAF_BWIDTH 30
#define IMG_CHAF_HEIGHT 60
//data size=4000 bytes
const unsigned char img_chaf_data[IMG_CHAF_HEIGHT][IMG_CHAF_BWIDTH] PROGMEM={
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 252,  15, 255, 255,  15, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 252,  15, 255, 255,   0,   3, 255, 255, 255,   0,  15, 255, 255, 255, 252,   0,  63, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 252,  15, 255, 255,   3, 255, 255, 255, 255,   0,   0, 252,  15, 255, 252,   0,   3, 252,   0,  15, 255, 255, 255, 252,  63, 255, 255, 255, 255, },
{ 255, 252,  15, 255, 255,   3, 255, 255, 255, 255,   3, 192, 252,  15, 255, 252,  15,   3, 252,   3, 255, 240,   0,  15, 243, 207, 240,  60,  63, 255, },
{ 255, 252,  15, 255, 255,   3, 255, 255, 255, 255,   3, 255, 252,  15, 255, 252,  15,   3, 252,  15, 255, 240,   0,  15, 255,  15, 240,  60,  63, 255, },
{ 255, 252,  15, 255, 255,   0,   3, 255, 255, 255,   3, 255, 252,  15, 255, 252,  15,   3, 252,  15, 255, 240, 252,  15, 252,  15, 240,  60,  63, 255, },
{ 255, 252,  63, 255, 255,   0,   3, 255, 255, 255,   3, 255, 252,   0,  15, 252,  15,   3, 252,   0,  15, 240, 252,  15, 252,  15, 240,  12,  63, 255, },
{ 255, 252,  63, 255, 255,   3, 255, 255, 255, 255,   3, 255, 255,   0,  15, 252,   0,   3, 252,  15, 255, 240, 252,  15, 252,  15, 240,  12,  63, 255, },
{ 255, 252,  63, 255, 255,   3, 255, 255, 255, 255,   3, 255, 255,  15,   3, 252,  15, 195, 252,  15, 255, 240, 252,  15, 252,  15, 240,   0,  63, 255, },
{ 255, 240,   3, 255, 255,   3, 255, 255, 255, 255,   3, 255, 255,  15,   3, 252,  15, 195, 252,  15, 255, 240, 252,  15, 252,  15, 240,   0,  63, 255, },
{ 255, 240,   0,   0, 255,   0,   0, 255, 255, 255,   3, 255, 255,  15,   3, 252,  15, 192, 252,  15, 255, 240, 252,  15, 252,  15, 240,   0,  63, 255, },
{ 255, 255, 240,   0, 255,   0,   0,  63, 255, 255,   0,   0, 255,  15,   3, 252,  15, 192, 252,  15, 255, 240, 252,  15, 252,  15, 240, 192,  63, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,   0,   0, 255,  15,   3, 252,  15, 192, 252,  15, 255, 240,  12,  15, 252,  15, 192, 192,  63, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,  15,   3, 255, 207, 192, 252,  15, 255, 240,   0,  15, 252,  15, 192, 192, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 252,   0,  15, 252,  15, 255, 192, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 234, 170, 170, 191, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 250, 170, 170, 175, 255, 255, 255, 234, 170, 170, 170, 170, 191, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 250, 170, 170, 170, 170, 175, 255, 254, 170, 170, 255, 255, 234, 171, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 170, 170, 255, 254, 170, 170, 255, 254, 170, 255, 255, 255, 254, 171, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 170, 255, 255, 255, 255, 234, 255, 254, 171, 255, 255, 255, 170, 171, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 170, 170, 255, 255, 170, 170, 255, 254, 170, 170, 170, 170, 170, 187, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 186, 170, 170, 170, 170, 170, 255, 254, 255, 234, 170, 170, 191, 251, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 191, 250, 170, 170, 175, 251, 255, 255, 191, 255, 255, 255, 255, 251, 235, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 191, 255, 255, 255, 255, 251, 255, 255, 191, 255, 255, 255, 255, 251, 186, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 213,  95, 255, 255, 213,  87, 255, 255, 191, 255, 255, 255, 255, 250, 170, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 175, 231, 253,  85,  85, 127, 219, 255, 255, 151, 255, 255, 255, 245,  90, 170, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 254, 234, 229,  85,  85,  85,  85,  91, 255, 255, 189,  87, 255,  85,  95, 234, 186, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 254, 171, 165,  85,  85,  85,  85, 123, 255, 255, 181, 125,  85, 245,  85, 106, 170, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 170, 165,  85,  85,  85,  85, 123, 255, 255, 181,  85,  85,  85,  85, 107, 250, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 174, 165,  85,  85,  85,  85, 127, 255, 255, 229,  85,  85,  85,  85, 111, 250, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 174, 173,  85,  85,  85,  85, 111, 255, 255, 229,  85,  85,  85,  85, 111, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 239, 237,  85,  85,  85,  85, 111, 255, 255, 229,  85,  85,  85,  85, 111, 238, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 239, 237,  85,  85,  85,  85, 111, 255, 255, 229,  85,  85,  85,  85, 111, 234, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 239, 237,  85,  85,  85,  85, 111, 255, 255, 237,  85,  85,  85,  85, 111, 234, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 239, 249,  85,  85,  85,  85, 239, 255, 255, 237,  85,  85,  85,  85, 239, 234, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 191, 249,  85,  85,  85,  85, 239, 255, 255, 237,  85,  85,  85,  85, 238, 170, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 191, 249,  85,  85,  85,  85, 255, 255, 255, 249,  85,  85,  85,  85, 238, 170, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 191, 249,  85,  85,  85,  85, 191, 255, 255, 249,  85,  85,  85,  85, 170, 171, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 191, 249,  85,  85,  85,  85, 191, 255, 255, 249,  85,  85,  85,  85, 170, 175, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 191, 251,  85,  85,  85,  85, 191, 255, 255, 249,  85,  85,  85,  85, 191, 191, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 191, 171,  85,  85,  85,  85, 191, 255, 255, 251,  85,  85,  85,  85, 191, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 234, 171,  85,  85,  85,  87, 191, 255, 255, 251,  85,  85,  85,  85, 191, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 250, 174, 187,  85,  85,  85,  87, 191, 255, 255, 251,  85,  85,  85,  85, 191, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 254, 170, 171,  85,  85,  85,  87, 191, 255, 255, 254,  85,  85,  85,  85, 191, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 254, 170, 190,  85,  85,  85,  86, 255, 255, 255, 254,  85,  85,  85, 126, 191, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 234, 254,  85,  85,  85,  86, 255, 255, 255, 254, 171, 253, 250, 171, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 254,  85,  85,  85,  86, 255, 255, 255, 255, 255, 170, 175, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 254, 170, 170, 170, 170, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
};
VGAX vga;

void setup() {
  vga.begin();
  vga.copy((byte*)img_chaf_data);
}
void loop() {
  static unsigned cnt;
  if (!(cnt % 10))
    vga.noTone();
  if (!(cnt++%20))
    vga.tone(cnt*10+11);
  if (cnt>=600)
    cnt=0;
  if (cnt>300)
    vga.copy((byte*)img_chaf_data);
  else
    vga.copy((byte*)img_ouv_data);
}
affichevarduino2vga.txt · Dernière modification : 2022/03/07 14:25 de gaziel