Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
project:esp8266_oledx32 [2019/03/06 13:58] cyberian |
project:esp8266_oledx32 [2019/03/07 10:20] (current) cyberian [Kód programu] zvýraznění řádku41 |
||
|---|---|---|---|
| Line 79: | Line 79: | ||
| * Adafruit GFX by adafruit (v mé době ver. 1.36) | * Adafruit GFX by adafruit (v mé době ver. 1.36) | ||
| - | Kód je upraveným příkladem pro SSD1306. V místě, kde je komentář "// ZDE VLOZIT hexaznaky bitmapy" je nutno vložit kód bitmapy, jehož získání bude popsáno níže. | + | V kódu je komentář "ZDE VLOZIT hexaznaky bitmapy". |
| - | </br> | + | Pro zkopírování kód stačí dvojklik na kód a ctrl+c |
| - | Kód: | + | <sxh cpp;highlight: [41]>/* |
| - | <file cpp oled.ino> | + | This is an example for our Monochrome OLEDs based on SSD1306 drivers |
| - | // This is an example for our Monochrome OLEDs based on SSD1306 drivers | ||
| - | </file> | ||
| Pick one up today in the adafruit shop! | Pick one up today in the adafruit shop! | ||
| ------> http://www.adafruit.com/category/63_98 | ------> http://www.adafruit.com/category/63_98 | ||
| Line 102: | Line 100: | ||
| All text above, and the splash screen below must be | All text above, and the splash screen below must be | ||
| included in any redistribution. | included in any redistribution. | ||
| - | </file> | + | */ |
| #include <Wire.h> | #include <Wire.h> | ||
| #include <Adafruit_GFX.h> | #include <Adafruit_GFX.h> | ||
| Line 447: | Line 446: | ||
| delay(1000); | delay(1000); | ||
| } | } | ||
| - | </file> | + | </sxh> |