Skip to content

Commit

Permalink
XPT2046 touch library version to 1.3.0.
Browse files Browse the repository at this point in the history
TFT refresh rate to 25Hz.

Updated README.md.
  • Loading branch information
CelliesProjects committed Mar 10, 2019
1 parent 18cb3bb commit ea3c30f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Aquacontrol32 can run happily with or without OLED or TFT display.

#### Compile notes:

- Compare your `#included` libraries version numbers against [libraries.md](libraries.md).
- Compare your installed libraries version numbers against the comments in `aquacontrol32.ino`.
- Check your device options in `deviceSetup.h`.
- Toggle the `GIT_TAG` option in `deviceSetup.h` to enable or disable version information.
<br>Setting `GIT_TAG` to `true` makes that the Arduino IDE can no longer compile or flash your script.
Expand Down Expand Up @@ -119,15 +119,12 @@ The [moon phase library](https://github.com/CelliesProjects/MoonPhase) is adapte
#### Log files:

By default log files are not generated.
<br>Log files saved on SPIFFS could reduce the lifetime of the flash memory.
<br>That is because log files saved on SPIFFS could reduce the lifetime of the flash memory.
<br>To log the temperature sensor values enable `LOG_FILES` (set it to `true`) in `deviceSetup.h`.

#### Known issues:

1. Use the master branch from [PaulStoffregen's XPT2046 Touchscreen library](https://github.com/paulstoffregen/XPT2046_Touchscreen) until the next release.
<br>( Current release is 1.2, which does not have the IRAM fix.) See [this issue](https://github.com/PaulStoffregen/XPT2046_Touchscreen/issues/14).

2. Use the [stickbreaker OneWire library](https://github.com/stickbreaker/OneWire) for troublefree temperature sensors.
1. Use the [stickbreaker OneWire library](https://github.com/stickbreaker/OneWire) for troublefree temperature sensors.

#### The test hardware:

Expand Down
4 changes: 2 additions & 2 deletions aquacontrol32.ino
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
#include <Adafruit_ILI9341.h> /* Install 1.2.0 via 'Manage Libraries' in Arduino IDE */
#include <Adafruit_GFX.h> /* Install 1.3.6 via 'Manage Libraries' in Arduino IDE */
#include <SSD1306.h> /* Install 4.0.0 via 'Manage Libraries' in Arduino IDE -> https://github.com/ThingPulse/esp8266-oled-ssd1306 */
#include <XPT2046_Touchscreen.h> /* Install 1.3.0 via 'Manage Libraries' in Arduino IDE */
#include <OneWire.h> /* https://github.com/stickbreaker/OneWire */
#include <AsyncTCP.h> /* https://github.com/me-no-dev/AsyncTCP */
#include <ESPAsyncWebServer.h> /* https://github.com/me-no-dev/ESPAsyncWebServer */
#include <XPT2046_Touchscreen.h> /* https://github.com/PaulStoffregen/XPT2046_Touchscreen */
#include <MoonPhase.h> /* https://github.com/CelliesProjects/MoonPhase */

#include "deviceSetup.h"
Expand Down Expand Up @@ -46,7 +46,7 @@ const char * sketchVersion = "ARDUINO IDE";
/**************************************************************************
update frequency for TFT display in Hz
**************************************************************************/
#define UPDATE_FREQ_TFT 5
#define UPDATE_FREQ_TFT 25


/**************************************************************************
Expand Down

0 comments on commit ea3c30f

Please sign in to comment.