Commit Graph

289 Commits (master)

Author SHA1 Message Date
SQFMI 9f3accdb07
Update library.json 2024-07-13 22:36:45 -04:00
SQFMI e5fce3b38b
Update README.md 2024-07-12 22:27:49 -04:00
SQFMI 71457b5f32 updated version in config.h 2024-07-06 21:59:09 -04:00
SQFMI cee857bac2 add to GHA 2024-07-06 16:20:25 -04:00
SQFMI c1c9ddc6a3 update GHA for v3 2024-07-06 15:58:31 -04:00
SQFMI d1c6d90598
fix GHA builds 2024-07-06 15:48:27 -04:00
SQFMI 9e6325e6d8 Add USB detection 2024-07-06 01:38:48 -04:00
SQFMI 9c0b7e6b45
arduino-platform: esp32:esp32@2.0.17 2024-07-04 14:32:57 -04:00
SQFMI 819b3319aa
arduino-platform: esp32:esp32@2.0.17 2024-07-04 14:32:39 -04:00
SQFMI b21516f9ee merged fixes for compilation issues 2024-07-04 14:21:04 -04:00
SQFMI d7bb52d34c
Merge pull request #256 from OlegGirko/fix_btn_mask_size
Use correct 64-bit integer size for button masks.
2024-07-04 13:07:03 -04:00
Oleg Girko 1e07dc53d4 Use correct 64-bit integer size for button masks.
The esp_sleep_get_ext1_wakeup_status() function returns 64-bit value.
Hence, masks this value is checked against should be 64-bit as well.
Especially, this is important because UP_BTN_MASK for Watchy V2 does not
fit inside 32-bit integer (it's bit 35).

This change fixes this problem by using BIT64 macro instead of BIT one.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
2024-07-04 17:28:06 +01:00
SQFMI 2705fca5ba
Merge pull request #254 from OlegGirko/fix_esp32_compat
Improve portability between different versions of Arduino-ESP32.
2024-07-03 12:24:05 -04:00
Oleg Girko 74b38547fe Improve portability between different versions of Arduino-ESP32.
The BLECharacteristic::getValue() method returns std::string in
older versions of Arduino core for the ESP32 and String in newer
versions.

However, the return value is used in a way that both classes support:
using only length() and c_str() methods.

Hence, replacing explicit type name with auto keyword makes the code
compatible with older and newer versions.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
2024-07-03 16:58:35 +01:00
SQFMI 41d8917c76 Fix issue with display SPI pins 2024-07-02 17:23:50 -04:00
SQFMI 7747dcc645 Add support for Watchy V3 and fixed compilation errors with arduion-esp32 v3.0.x 2024-07-02 00:50:47 -04:00
SQFMI 667d86737d
Update main.actions.yml 2024-04-03 16:15:58 -04:00
SQFMI d65738fbaa
Update main.actions.yml 2024-04-03 16:09:29 -04:00
SQFMI 2dd98737fb
Update main.actions.yml 2024-04-03 16:08:09 -04:00
SQFMI 5a5b343737
fix path in GH actions 2024-04-03 15:57:14 -04:00
sqfmi 2da3fd9ede add board revision function 2024-04-03 15:10:09 -04:00
SQFMI acbb6eeece
Compile for different board revisions 2024-04-03 14:55:30 -04:00
sqfmi c1c95f9587 use chip icon 2024-04-02 22:59:02 -04:00
sqfmi bd1657e9c7 Save last used IP and SSID 2024-04-02 22:55:19 -04:00
sqfmi fbbcaabbd1 updated IP 2024-04-02 14:56:24 -04:00
SQFMI e9854a7fa2
Merge pull request #230 from denics/master
Check if wifi and change weather icon
2024-04-02 14:23:00 -04:00
sqfmi fddbe504c1 Merge branch 'pr/233' 2024-04-02 14:13:44 -04:00
sqfmi aa3528371d getWeatherData to accept cityID or lat lon 2024-04-02 14:13:15 -04:00
sqfmi 3ffb0f8697 Update version and use WIFI_CONFIGURED 2024-04-01 18:10:51 -04:00
sqfmi b786f24240 Use WIFI_CONFIGURED 2024-04-01 18:08:12 -04:00
sqfmi 2528878570 Merge branch 'pr/231' 2024-04-01 18:06:59 -04:00
sqfmi 1b15c1b5fe bump version 2024-03-31 14:27:07 -04:00
Daniel Ansorregui be185cbd54 Remove delay after hard reset
* Implemented by overloading the
  virtual method _reset() in GxEPD2_EPD
* Tested to write straight away
  and works ok. Seems unnecessary.
* 10ms might look like little but the
  ESP is not sleeping and CPUs are on.
  This is probably using 0.1 uAh
  (10% of display update total cost)
2024-01-16 23:15:29 +00:00
Daniel Ansorregui f369b6f207 Allow AsyncPowerOn
* The display takes 16ms to power on
  During this time we can render the
  content and finally display it
* The call is optional if we do not call
  it then the old code path is used
* Moved the init to constructor
2024-01-13 19:11:22 +00:00
Daniel Ansorregui 8103df1499 Refactor DarkBorder
* Allow to be changed dynamically between
  display updated.
2024-01-13 19:08:52 +00:00
Daniel Ansorregui 84c0cd106c Set boosters configuration
* Reduce the phase on times from 40ms->10ms
* Increase the driving strength, this reduces
  a little the power usage as well
* Reduces 220ms the display update
  -80ms the power on of the display
  -140ms the display partial update
- Note: This may have side effects, but I saw none
  tested on Watchy v1.0, display should be same on
  other Watchy boards
2024-01-13 18:24:19 +00:00
Daniel Ansorregui 3ce125247d No soft reset after reset
* Avoid a redundant reset after a reset
  The display is always reset after a hard reset
  and there is no need to re-reset it
2024-01-13 18:24:04 +00:00
Daniel Ansorregui f2c0c91a61 Refactor Display Init
* It makes more sense to put it in the Display class
* The reset should be 2ms, 10ms is worst case
* Also there was a disable call based on display
  that makes more sense to put in the default
  boot switch statement
2024-01-13 18:23:45 +00:00
Daniel Ansorregui 2b21e50c2f Move Display specifics
* Move BusyCallback
* Move constructor pins
2024-01-13 18:19:37 +00:00
Sudrien b84ab91c6b Switch from CityID to Lat an Lon, expose sunrise and sunset 2023-06-16 00:17:20 -04:00
Sean M. Collins b8eeda70c6 Fix indenting 2023-05-25 13:42:34 +01:00
Sean M. Collins a719bfa116 Switch wifi off after info display 2023-05-24 20:55:47 +01:00
Sean M. Collins 459cc2a18f Display WiFi information in About screen 2023-05-24 20:42:31 +01:00
Denis Pitzalis df5fce8d40 fix issue #229 2023-05-15 16:07:03 +02:00
SQFMI 342eb48a49
Merge pull request #221 from wjgeorge/dev
bump lib version number
2023-04-25 14:37:44 -04:00
wjgeorge 98fd0abfeb bump lib version number 2023-04-24 17:02:44 -04:00
SQFMI 1d5605c0e9 Update dev.actions.yml 2023-04-23 23:36:49 -04:00
SQFMI 704ef60470 Update dev.actions.yml 2023-04-23 23:32:27 -04:00
SQFMI cc6c196e37 Create main.actions.yml 2023-04-23 23:28:57 -04:00
SQFMI 35e65a1972 update 2023-04-23 18:18:39 -04:00