Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
project:esp8266_oledx32 [2019/03/06 12:08]
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. ​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. ​+kódu je komentář "ZDE VLOZIT hexaznaky bitmapy"​
 +Pro zkopírování ​kód stačí dvojklik na kód a ctrl+c
  
 +<sxh cpp;​highlight:​ [41]>/*
 +This is an example for our Monochrome OLEDs based on SSD1306 drivers
  
-Kód: +Pick one up today in the adafruit shop! 
-/+------> http://​www.adafruit.com/​category/​63_98
- This is an example for our Monochrome OLEDs based on SSD1306 drivers+
  
- ​Pick ​one up today in the adafruit shop! +This example is for a 128x32 pixel display using I2C to communicate 
- ​------>​ http://​www.adafruit.com/​category/​63_98+3 pins are required to interface (two I2C and one reset).
  
- This example is for a 128x32 pixel display using I2C to communicate +Adafruit invests time and resources providing this open 
- 3 pins are required to interface (two I2C and one reset).+source code, please support Adafruit ​and open-source 
 +hardware by purchasing products from Adafruit!
  
- ​Adafruit invests time and resources providing this open +Written by Limor Fried/​Ladyada for Adafruit Industries,​ 
- ​source code, please support Adafruit and open-source +with contributions from the open source community. 
- ​hardware by purchasing products from Adafruit! +BSD license, check license.txt for more information 
- +All text above, and the splash screen below must be 
- Written by Limor Fried/​Ladyada for Adafruit Industries,​ +included in any redistribution. 
- with contributions from the open source community. +*/
- BSD license, check license.txt for more information +
- All text above, and the splash screen below must be +
- ​included in any redistribution. +
- */+
  
 #include <​Wire.h>​ #include <​Wire.h>​
Line 120: Line 119:
  
 //​bitmapa ​ //​bitmapa ​
 +
 static const unsigned char PROGMEM Mari_pole [] =  static const unsigned char PROGMEM Mari_pole [] = 
 { {
Line 446: Line 446:
   delay(1000);​   delay(1000);​
 } }
 +</​sxh>​
  
  
  • project/esp8266_oledx32.1551870501.txt.gz
  • Last modified: 2019/03/06 12:08
  • by cyberian