Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot-open:practical:hardware:sut:esp32:emb6_1 [2024/04/04 06:41] – [Start] pczekalskien:iot-open:practical:hardware:sut:esp32:emb6_1 [2024/04/05 09:24] (current) – [Steps] pczekalski
Line 33: Line 33:
 <caption>IOT-OPEN.EU Reloaded favicon 60px x 60px</caption> <caption>IOT-OPEN.EU Reloaded favicon 60px x 60px</caption>
 </figure> </figure>
-The corresponding converted code for the logo in Figure {{ref>iotopenfavicon}} (Horizontal 1 bit per pixel, as suitable for ePaper Display) is present below:+ 
 +==== Steps ==== 
 +Remember to include the source array in the code when drawing an image.\\ 
 +The corresponding generated C array for the logo in Figure {{ref>iotopenfavicon}} (horizontal 1 bit per pixel, as suitable for ePaper Display) is present below:
 <code c> <code c>
 // 'logo 60', 60x60px // 'logo 60', 60x60px
Line 75: Line 78:
 }; };
 </code> </code>
-==== Steps ==== 
-Remember to include the source array in the code if you plan to draw an image from the bitmap: 
- 
 === Step 1 === === Step 1 ===
 Include necessary libraries. Include necessary libraries.
Line 88: Line 88:
 </code> </code>
 The code above also includes a font to draw text on the ePaper Display. There are many fonts one can use, and a non-exhaustive list is present below (files are located in the ''Adafruit GFX Library'', subfolder ''Fonts''): The code above also includes a font to draw text on the ePaper Display. There are many fonts one can use, and a non-exhaustive list is present below (files are located in the ''Adafruit GFX Library'', subfolder ''Fonts''):
-   * ''FreeMono12pt7b.h'' +<code> 
-  * ''FreeMono18pt7b.h'' +   FreeMono12pt7b.h 
-  * ''FreeMono24pt7b.h'' +   FreeMono18pt7b.h 
-  * ''FreeMono9pt7b.h'' +   FreeMono24pt7b.h 
-  * ''FreeMonoBold12pt7b.h'' +   FreeMono9pt7b.h 
-  * ''FreeMonoBold18pt7b.h'' +   FreeMonoBold12pt7b.h 
-  * ''FreeMonoBold24pt7b.h'' +   FreeMonoBold18pt7b.h 
-  * ''FreeMonoBold9pt7b.h'' +   FreeMonoBold24pt7b.h 
-  * ''FreeMonoBoldOblique12pt7b.h'' +   FreeMonoBold9pt7b.h 
-  * ''FreeMonoBoldOblique18pt7b.h'' +   FreeMonoBoldOblique12pt7b.h 
-  * ''FreeMonoBoldOblique24pt7b.h'' +   FreeMonoBoldOblique18pt7b.h 
-  * ''FreeMonoBoldOblique9pt7b.h'' +   FreeMonoBoldOblique24pt7b.h 
-  * ''FreeMonoOblique12pt7b.h'' +   FreeMonoBoldOblique9pt7b.h 
-  * ''FreeMonoOblique18pt7b.h'' +   FreeMonoOblique12pt7b.h 
-  * ''FreeMonoOblique24pt7b.h'' +   FreeMonoOblique18pt7b.h 
-  * ''FreeMonoOblique9pt7b.h'' +   FreeMonoOblique24pt7b.h 
-  * ''FreeSans12pt7b.h'' +   FreeMonoOblique9pt7b.h 
-  * ''FreeSans18pt7b.h'' +   FreeSans12pt7b.h 
-  * ''FreeSans24pt7b.h'' +   FreeSans18pt7b.h 
-  * ''FreeSans9pt7b.h'' +   FreeSans24pt7b.h 
-  * ''FreeSansBold12pt7b.h'' +   FreeSans9pt7b.h 
-  * ''FreeSansBold18pt7b.h'' +   FreeSansBold12pt7b.h 
-  * ''FreeSansBold24pt7b.h'' +   FreeSansBold18pt7b.h 
-  * ''FreeSansBold9pt7b.h'' +   FreeSansBold24pt7b.h 
-  * ''FreeSansBoldOblique12pt7b.h'' +   FreeSansBold9pt7b.h 
-  * ''FreeSansBoldOblique18pt7b.h'' +   FreeSansBoldOblique12pt7b.h 
-  * ''FreeSansBoldOblique24pt7b.h'' +   FreeSansBoldOblique18pt7b.h 
-  * ''FreeSansBoldOblique9pt7b.h'' +   FreeSansBoldOblique24pt7b.h 
-  * ''FreeSansOblique12pt7b.h'' +   FreeSansBoldOblique9pt7b.h 
-  * ''FreeSansOblique18pt7b.h'' +   FreeSansOblique12pt7b.h 
-  * ''FreeSansOblique24pt7b.h'' +   FreeSansOblique18pt7b.h 
-  * ''FreeSansOblique9pt7b.h'' +   FreeSansOblique24pt7b.h 
-  * ''FreeSerif12pt7b.h'' +   FreeSansOblique9pt7b.h 
-  * ''FreeSerif18pt7b.h'' +   FreeSerif12pt7b.h 
-  * ''FreeSerif24pt7b.h'' +   FreeSerif18pt7b.h 
-  * ''FreeSerif9pt7b.h'' +   FreeSerif24pt7b.h 
-  * ''FreeSerifBold12pt7b.h'' +   FreeSerif9pt7b.h 
-  * ''FreeSerifBold18pt7b.h'' +   FreeSerifBold12pt7b.h 
-  * ''FreeSerifBold24pt7b.h'' +   FreeSerifBold18pt7b.h 
-  * ''FreeSerifBold9pt7b.h'' +   FreeSerifBold24pt7b.h 
-  * ''FreeSerifBoldItalic12pt7b.h'' +   FreeSerifBold9pt7b.h 
-  * ''FreeSerifBoldItalic18pt7b.h'' +   FreeSerifBoldItalic12pt7b.h 
-  * ''FreeSerifBoldItalic24pt7b.h'' +   FreeSerifBoldItalic18pt7b.h 
-  * ''FreeSerifBoldItalic9pt7b.h'' +   FreeSerifBoldItalic24pt7b.h 
-  * ''FreeSerifItalic12pt7b.h'' +   FreeSerifBoldItalic9pt7b.h 
-  * ''FreeSerifItalic18pt7b.h'' +   FreeSerifItalic12pt7b.h 
-  * ''FreeSerifItalic24pt7b.h'' +   FreeSerifItalic18pt7b.h 
-  * ''FreeSerifItalic9pt7b.h''+   FreeSerifItalic24pt7b.h 
 +   FreeSerifItalic9pt7b.h 
 +</code>
 === Step 2 === === Step 2 ===
 Declare GPIOs and some configurations needed to handle the ePaper display properly: Declare GPIOs and some configurations needed to handle the ePaper display properly:
en/iot-open/practical/hardware/sut/esp32/emb6_1.1712212889.txt.gz · Last modified: 2024/04/04 06:41 by pczekalski
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0