Skip to content

Commit

Permalink
fixed 'vector' not found
Browse files Browse the repository at this point in the history
  • Loading branch information
xunicatt committed May 2, 2024
1 parent ad59db8 commit 97cb5ea
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 13 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@ TFT_eSPI_Scroll library adds text scroll functionality to the existing [TFT_eSPI

# Installation

### Platform IO:
1. Open `platformio.ini`, a project configuration file located in the root of PlatformIO project.
2. Add the following line to the lib_deps option of [env:] section:
```
aniket-hpp/TFT_eSPI_Scroll@^1.0.1
xunicatt/TFT_eSPI_Scroll@^1.0.1
```
3. Build a project, PlatformIO will automatically install dependencies.

### Arduino:
1. Open the Arduino IDE.
2. With the editor open, let's take a look at the left column. Here, we can see a couple of icons. Let's click the on the "library" icon.
3. A list will now appear of all available libraries, search for `TFT_eSPI_Scroll`.
4. Select a version and Click Install.

# Include

TFT_eSPI_Scroll library provides the following header files that can be included in your project.
Expand Down Expand Up @@ -96,4 +103,4 @@ scroll.reset();
```

# Version
>1.0.3
>1.0.4
2 changes: 1 addition & 1 deletion examples/Example_1/Example_1.ino
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
** Author: Aniket Biswas
** Github: https://github.com/aniket-hpp
** Github: https://github.com/xunicatt
**
** Example for TFT_eSPI_Scroll library
**
Expand Down
4 changes: 2 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "TFT_eSPI_Scroll",
"version": "1.0.3",
"version": "1.0.4",
"description": "Adds flickerless text scrolling functionality to TFT eSPI library",
"keywords": "Arduino, tft, display, ttgo, LilyPi, WT32-SC01, ePaper, display, Pico, RP2040 Nano Connect, RP2040, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9481, ILI9486, ILI9488, ST7789, ST7796, RM68140, SSD1351, SSD1963, ILI9225, HX8357D, GC9A01, R61581",
"repository":
{
"type": "git",
"url": "https://github.com/aniket-hpp/TFT_eSPI_Scroll"
"url": "https://github.com/xunicatt/TFT_eSPI_Scroll"
},
"authors":
[
Expand Down
6 changes: 3 additions & 3 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name=TFT_eSPI_Scroll
version=1.0.3
author=aniket-hpp
maintainer=aniket-hpp
version=1.0.4
author=xunicatt
maintainer=xunicatt
sentence=Adds flickerless text scrolling functionality to TFT eSPI library
paragraph=This library by default uses 1-bit color-depth which makes it perform very fast & flickerless with very minimum ram usages.
category=Display
Expand Down
2 changes: 1 addition & 1 deletion src/1bit.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
** Author: Aniket Biswas
** Github: https://github.com/aniket-hpp
** Github: https://github.com/xunicatt
**
** 1Bit color
**
Expand Down
2 changes: 1 addition & 1 deletion src/4bit.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
** Author: Aniket Biswas
** Github: https://github.com/aniket-hpp
** Github: https://github.com/xunicatt
**
** 4Bit color
**
Expand Down
2 changes: 1 addition & 1 deletion src/TFT_eSPI_Scroll.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
** Author: Aniket Biswas
** Github: https://github.com/aniket-hpp
** Github: https://github.com/xunicatt
**
** Library to add Vertical text Scrolling functionality to TFT_eSPI library by bodmer.
** Header File: TFT_eSPI_Scroll.h
Expand Down
5 changes: 3 additions & 2 deletions src/TFT_eSPI_Scroll.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
** Author: Aniket Biswas
** Github: https://github.com/aniket-hpp
** Github: https://github.com/xunicatt
**
** Library to add Vertical text Scrolling functionality to TFT_eSPI library by bodmer.
** TFT_eSPI: https://github.com/Bodmer/TFT_eSPI
Expand All @@ -17,11 +17,12 @@

#include <Arduino.h>
#include <TFT_eSPI.h>
#include <vector>

#include "./1bit.h"
#include "./4bit.h"

#define TFT_eSPI_Scroll_Version "1.0.3"
#define TFT_eSPI_Scroll_Version "1.0.4"

/*
** Error Handeling
Expand Down

0 comments on commit 97cb5ea

Please sign in to comment.