Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
olikraus committed Nov 11, 2024
1 parent b88a767 commit 4b17158
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion sys/arduino/u8x8/DrawXBM/DrawXBM.ino
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
//U8X8_SSD1312_120X28_SW_I2C u8x8(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ 8);
//U8X8_SSD1312_120X28_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);
//U8X8_SH1106_128X64_NONAME_4W_HW_SPI u8x8(/* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
U8X8_SH1106_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);
//U8X8_SH1106_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);
//U8X8_SH1106_128X64_VCOMH0_4W_HW_SPI u8x8(/* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8); // same as the NONAME variant, but maximizes setContrast() range
//U8X8_SH1106_128X64_WINSTAR_4W_HW_SPI u8x8(/* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8); // same as the NONAME variant, but uses updated SH1106 init sequence
//U8X8_SH1106_128X32_VISIONOX_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);
Expand Down Expand Up @@ -328,6 +328,9 @@ U8X8_SH1106_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);
Notes:
* Width and height of the XBM Image must be a multiple of 8
* XBM image must be placed in PROGMAM (add const and U8X8_PROGMEM)
* XBM image can be exported from any other image with "GIMP" (https://www.gimp.org/) tool
* XBM format is plain C code, just copy&past code into the .ino file
* It might be required to add "const" and "U8X8_PROGMEM" to the XBM data array
*/
const static unsigned char startup_xbm[] U8X8_PROGMEM = {
Expand Down
1 change: 0 additions & 1 deletion sys/sdl/u8x8_xbm/main.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "u8x8.h"

/*
https://www.streamlinehq.com/icons/pixel?search=&icon=ico_94BhV342TAIclS4E
Business_Product_Startup_1__Streamline_Pixel
Made by Streamline
Expand Down

0 comments on commit 4b17158

Please sign in to comment.