mirror of https://github.com/sqfmi/Watchy.git
Compare commits
26 Commits
c2bbf8a01a
...
1d5605c0e9
Author | SHA1 | Date |
---|---|---|
SQFMI | 1d5605c0e9 | |
SQFMI | 704ef60470 | |
SQFMI | cc6c196e37 | |
SQFMI | 35e65a1972 | |
SQFMI | 65061fd30f | |
SQFMI | b1b5eeb890 | |
SQFMI | 2b327c64b8 | |
wjgeorge | 3c73c7e2c8 | |
SQFMI | cc1ff02123 | |
SQFMI | 0e1aa800dd | |
SQFMI | cc882cd9f7 | |
SQFMI | 6682d501a6 | |
SQFMI | dc2795dcd9 | |
SQFMI | 9177aee6d6 | |
Adam Minchinton | 0e319fe3e7 | |
SQFMI | f6f7a38c8e | |
SQFMI | 266ae56458 | |
SQFMI | 96c4465924 | |
SQFMI | b48408be6e | |
SQFMI | c0e814d269 | |
SQFMI | 3300f6f271 | |
SQFMI | e125f85926 | |
SQFMI | ce8c5d4f78 | |
SQFMI | 851467cc86 | |
Kenneth Henderick | 3a3a926c2a | |
Christopher Chin | 20dd8a26e0 |
|
@ -0,0 +1,27 @@
|
|||
name: Build Example Watchfaces
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "dev"
|
||||
pull_request:
|
||||
branches:
|
||||
- "dev"
|
||||
jobs:
|
||||
build:
|
||||
name: Build Example Watchfaces
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: ArminJo/arduino-test-compile@v3
|
||||
with:
|
||||
arduino-board-fqbn: esp32:esp32:watchy:Revision=v20,PartitionScheme=min_spiffs,UploadSpeed=921600,DebugLevel=none,EraseFlash=none
|
||||
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
|
||||
required-libraries: Adafruit GFX Library,Arduino_JSON,DS3232RTC,NTPClient,Rtc_Pcf8563,GxEPD2,WiFiManager
|
||||
set-build-path: true
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: binaries
|
||||
path: ${{ github.workspace }}/examples/WatchFaces/**/build/*.bin
|
||||
- uses: actions/download-artifact@v3
|
||||
- name: Display structure of downloaded files
|
||||
run: ls -R
|
|
@ -0,0 +1,21 @@
|
|||
name: Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v[0-9]+.[0-9]+.[0-9]+"
|
||||
jobs:
|
||||
release:
|
||||
name: Build and Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: ArminJo/arduino-test-compile@v3
|
||||
with:
|
||||
arduino-board-fqbn: esp32:esp32:watchy:Revision=v20,PartitionScheme=min_spiffs,UploadSpeed=921600,DebugLevel=none,EraseFlash=none
|
||||
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
|
||||
required-libraries: Adafruit GFX Library,Arduino_JSON,DS3232RTC,NTPClient,Rtc_Pcf8563,GxEPD2,WiFiManager
|
||||
set-build-path: true
|
||||
- uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
name: "Watchy Arduino Library ${{ github.ref_name }}"
|
||||
files: ${{ github.workspace }}/examples/WatchFaces/**/build/*.bin
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Watchy",
|
||||
"version": "1.4.6",
|
||||
"version": "1.4.7",
|
||||
"description": "Watchy - An Open Source E-Paper Watch by SQFMI",
|
||||
"authors": [
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name=Watchy
|
||||
version=1.4.6
|
||||
version=1.4.7
|
||||
author=SQFMI
|
||||
maintainer=SQFMI
|
||||
sentence=Watchy - An Open Source E-Paper Watch by SQFMI
|
||||
|
|
|
@ -23,6 +23,7 @@ class WatchyDisplay : public GxEPD2_EPD
|
|||
public:
|
||||
// attributes
|
||||
static const uint16_t WIDTH = 200;
|
||||
static const uint16_t WIDTH_VISIBLE = WIDTH;
|
||||
static const uint16_t HEIGHT = 200;
|
||||
static const GxEPD2::Panel panel = GxEPD2::GDEH0154D67;
|
||||
static const bool hasColor = false;
|
||||
|
|
|
@ -828,6 +828,7 @@ void Watchy::setupWifi() {
|
|||
display.println(WiFi.SSID());
|
||||
display.println("Local IP:");
|
||||
display.println(WiFi.localIP());
|
||||
weatherIntervalCounter = -1; // Reset to force weather to be read again
|
||||
}
|
||||
display.display(false); // full refresh
|
||||
// turn off radios
|
||||
|
|
|
@ -36,7 +36,6 @@ typedef struct watchySettings {
|
|||
// NTP Settings
|
||||
String ntpServer;
|
||||
int gmtOffset;
|
||||
int dstOffset;
|
||||
//
|
||||
bool vibrateOClock;
|
||||
} watchySettings;
|
||||
|
@ -56,7 +55,7 @@ public:
|
|||
float getBatteryVoltage();
|
||||
void vibMotor(uint8_t intervalMs = 100, uint8_t length = 20);
|
||||
|
||||
void handleButtonPress();
|
||||
virtual void handleButtonPress();
|
||||
void showMenu(byte menuIndex, bool partialRefresh);
|
||||
void showFastMenu(byte menuIndex);
|
||||
void showAbout();
|
||||
|
|
Loading…
Reference in New Issue