Skip to content

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
xunicatt committed Jan 20, 2024
1 parent f259bc5 commit 835a4d6
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ TFT_eSPI_Scroll library provides the following header files that can be included

```cpp
#include <TFT_eSPI_Scroll.h>
#include <colors/1bit.h>
#include <colors/4bit.h>
```

# Usage
Expand Down Expand Up @@ -84,12 +82,10 @@ void loop(){
// bg & fg {8-bit}
scroll.setColor(TFT_BLUE, TFT_YELLOW);

// bg & fg {4-bit}
#include <colors/4bit.h>
// bg & fg {4-bit} COLOR_<name>_4B
scroll.setColor(COLOR_BLUE_4B, COLOR_YELLOW_4B);

// bg & fg {1-bit}
#include <colors/1bit.h>
// bg & fg {1-bit} COLOR_<name>_1B
scroll.setColor(COLOR_WHITE_1B, COLOR_BLACK_1B);
```

Expand Down
File renamed without changes.
9 changes: 9 additions & 0 deletions license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
MIT License

Copyright (c) 2024 Aniket Biswas

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion src/TFT_eSPI_Scroll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <Arduino.h>
#include <TFT_eSPI.h>
#include "./TFT_eSPI_Scroll.h"
#include "../include/colors/1bit.h"

// Constructor
TFT_eSPI_Scroll::TFT_eSPI_Scroll(){
Expand Down
4 changes: 2 additions & 2 deletions src/TFT_eSPI_Scroll.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#include <Arduino.h>
#include <TFT_eSPI.h>

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

#define TFT_eSPI_Scroll_Version "1.0.3"

Expand Down

0 comments on commit 835a4d6

Please sign in to comment.