Skip to content

Commit

Permalink
Arduino Bootstrapper (v1.11.4)
Browse files Browse the repository at this point in the history
  • Loading branch information
sblantipodi committed Nov 13, 2021
1 parent 5713e8c commit 3d21bca
Show file tree
Hide file tree
Showing 39 changed files with 898 additions and 1,252 deletions.
2 changes: 1 addition & 1 deletion .pio/libdeps/watchwinder_1/Adafruit SSD1306/.piopm
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"type": "library", "name": "Adafruit SSD1306", "version": "2.4.7", "spec": {"owner": "adafruit", "id": 135, "name": "Adafruit SSD1306", "requirements": null, "url": null}}
{"type": "library", "name": "Adafruit SSD1306", "version": "2.5.0", "spec": {"owner": "adafruit", "id": 135, "name": "Adafruit SSD1306", "requirements": null, "url": null}}
14 changes: 9 additions & 5 deletions .pio/libdeps/watchwinder_1/Adafruit SSD1306/Adafruit_SSD1306.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,13 +495,16 @@ bool Adafruit_SSD1306::begin(uint8_t vcs, uint8_t addr, bool reset,
return false;

clearDisplay();

#ifndef SSD1306_NO_SPLASH
if (HEIGHT > 32) {
drawBitmap((WIDTH - splash1_width) / 2, (HEIGHT - splash1_height) / 2,
splash1_data, splash1_width, splash1_height, 1);
} else {
drawBitmap((WIDTH - splash2_width) / 2, (HEIGHT - splash2_height) / 2,
splash2_data, splash2_width, splash2_height, 1);
}
#endif

vccstate = vcs;

Expand Down Expand Up @@ -627,7 +630,8 @@ bool Adafruit_SSD1306::begin(uint8_t vcs, uint8_t addr, bool reset,
@param y
Row of display -- 0 at top to (screen height -1) at bottom.
@param color
Pixel color, one of: SSD1306_BLACK, SSD1306_WHITE or SSD1306_INVERT.
Pixel color, one of: SSD1306_BLACK, SSD1306_WHITE or
SSD1306_INVERSE.
@return None (void).
@note Changes buffer contents only, no immediate effect on display.
Follow up with a call to display(), or with other graphics
Expand Down Expand Up @@ -685,7 +689,7 @@ void Adafruit_SSD1306::clearDisplay(void) {
@param w
Width of line, in pixels.
@param color
Line color, one of: SSD1306_BLACK, SSD1306_WHITE or SSD1306_INVERT.
Line color, one of: SSD1306_BLACK, SSD1306_WHITE or SSD1306_INVERSE.
@return None (void).
@note Changes buffer contents only, no immediate effect on display.
Follow up with a call to display(), or with other graphics
Expand Down Expand Up @@ -734,7 +738,7 @@ void Adafruit_SSD1306::drawFastHLine(int16_t x, int16_t y, int16_t w,
Width of line, in pixels.
@param color
Line color, one of: SSD1306_BLACK, SSD1306_WHITE or
SSD1306_INVERT.
SSD1306_INVERSE.
@return None (void).
@note Changes buffer contents only, no immediate effect on display.
Follow up with a call to display(), or with other graphics
Expand Down Expand Up @@ -785,7 +789,7 @@ void Adafruit_SSD1306::drawFastHLineInternal(int16_t x, int16_t y, int16_t w,
@param h
Height of line, in pixels.
@param color
Line color, one of: SSD1306_BLACK, SSD1306_WHITE or SSD1306_INVERT.
Line color, one of: SSD1306_BLACK, SSD1306_WHITE or SSD1306_INVERSE.
@return None (void).
@note Changes buffer contents only, no immediate effect on display.
Follow up with a call to display(), or with other graphics
Expand Down Expand Up @@ -833,7 +837,7 @@ void Adafruit_SSD1306::drawFastVLine(int16_t x, int16_t y, int16_t h,
@param __h height of the line in pixels
@param color
Line color, one of: SSD1306_BLACK, SSD1306_WHITE or
SSD1306_INVERT.
SSD1306_INVERSE.
@return None (void).
@note Changes buffer contents only, no immediate effect on display.
Follow up with a call to display(), or with other graphics
Expand Down
4 changes: 4 additions & 0 deletions .pio/libdeps/watchwinder_1/Adafruit SSD1306/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ Preferred installation method is to use the Arduino IDE Library Manager. To down
You will also have to install the **Adafruit GFX library** which provides graphics primitves such as lines, circles, text, etc. This also can be found in the Arduino Library Manager, or you can get the source from https://github.com/adafruit/Adafruit-GFX-Library

## Changes
Pull Request:
(November 2021)
* Added define `SSD1306_NO_SPLASH` to opt-out of including splash images in `PROGMEM` and drawing to display during `begin`.

Pull Request:
(September 2019)
* new #defines for SSD1306_BLACK, SSD1306_WHITE and SSD1306_INVERSE that match existing #define naming scheme and won't conflict with common color names
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Adafruit SSD1306
version=2.4.7
version=2.5.0
author=Adafruit
maintainer=Adafruit <info@adafruit.com>
sentence=SSD1306 oled driver library for monochrome 128x64 and 128x32 displays
Expand Down
25 changes: 24 additions & 1 deletion .pio/libdeps/watchwinder_1/Adafruit SSD1306/scripts/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@

PY=python3

define HEADER
/**
* This file is autogenerated, do not edit.
* Run `make` from the scripts directory to produce splash.h
*
* Splashes will be stored in PROGMEM (flash).
* If SSD1306_NO_SPLASH is defined, the splashes are omitted.
*/

#ifndef SSD1306_NO_SPLASH
/* clang-format off */
endef

define FOOTER
/* clang-format on */
#endif
endef

export HEADER
export FOOTER

splash.h: make_splash.py splash1.png splash2.png
${PY} make_splash.py splash1.png splash1 >$@
echo "$$HEADER" > $@
${PY} make_splash.py splash1.png splash1 >>$@
${PY} make_splash.py splash2.png splash2 >>$@
echo "$$FOOTER" >> $@

clean:
rm -f splash.h
Expand Down
Loading

0 comments on commit 3d21bca

Please sign in to comment.