Commit d04868f3 authored by Nolan's avatar Nolan
Browse files

Test drawRGBBitmap avec une icon de 9×9.

parent b67a97a8
......@@ -33,7 +33,7 @@ void setup()
mtx.setTextWrap(false);
}
bool mask[MTX_W][MTX_H] = {
/*bool mask[MTX_W][MTX_H] = {
1,0,0,1,1,0,0,1,
0,1,1,0,0,1,1,0,
0,1,1,0,0,1,1,0,
......@@ -42,7 +42,23 @@ bool mask[MTX_W][MTX_H] = {
0,1,1,0,0,1,1,0,
0,1,1,0,0,1,1,0,
1,0,0,1,1,0,0,1
};
};*/
// Generated by : UTFTConverter v0.1
// Generated from : insta_icon.png
// Time generated : 2021-12-09 18:32:04.494988 UTC
// Image Size : 9x9 pixels
// Memory usage : 162 bytes
#include <avr/pgmspace.h>
const uint16_t insta_icon[81] PROGMEM={
0x30A7, 0x79D1, 0x79F2, 0x79F2, 0x79F2, 0x79F2, 0x7A12, 0x71F1, 0x30A7, 0x8990, 0x48E9, 0x0000, 0x0000, 0x0000, 0x0000, 0x48A8, // 0x0010 (16) pixels
0x612B, 0x81B0, 0xA16E, 0x0000, 0x2822, 0x912B, 0xA96E, 0x912C, 0x70EA, 0x50A8, 0x9990, 0xB1AC, 0x0000, 0x998A, 0x8949, 0x0000, // 0x0020 (32) pixels
0x894A, 0x996A, 0x0000, 0xA96E, 0xC22A, 0x0000, 0xC24A, 0x0000, 0x0000, 0x0000, 0xBA0B, 0x0000, 0xB1AC, 0xCA88, 0x0000, 0xB246, // 0x0030 (48) pixels
0xA225, 0x0000, 0xA206, 0xAA07, 0x0000, 0xBA0B, 0xDB26, 0x0000, 0x3080, 0xBA85, 0xDAE6, 0xB266, 0x3061, 0x0000, 0xC24A, 0xD3A7, // 0x0040 (64) pixels
0x8264, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x7964, 0xC268, 0x59C3, 0xDC89, 0xE4EA, 0xE489, 0xE428, 0xDB86, 0xDB26, 0xCAA6, // 0x0050 (80) pixels
0x50E2, };
void display_scrollText() {
......@@ -79,5 +95,9 @@ void loop()
display_scrollText();
mtx.drawRGBBitmap(1, 1, insta_icon, 9, 9);
mtx.show();
delay(10);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment