7fffd33e3a
Remove dup library in mos.yml; cast 'value' to bool in Relay.Set()
2018-01-05 01:43:38 +01:00
ecf0a9a2fc
Add tft.enable flag, gate the use of ILI9341/STMPE610 on it.
...
- For esp8266 (lightswitch w/o touchscreen), set tft.enable=false
- For esp32 (lightswitch w/ touchscreen), set it to true.
Clean up mos.yml flags per architecture type.
- Button is always 0,2
- Relay0 at 16 for ESP8266, as that's NodeMCU v2's onboard LED.
- Relay0 at 13 for ESP32, as that's Featherwing's onboard LED
2017-12-22 10:23:15 +01:00
1cbd2130db
Add lightswitch to this firmware
2017-12-20 17:04:51 +01:00
7ba19c8372
Make screen work at 480x320 as well as 320x240
2017-12-07 01:28:27 +01:00
f598290e54
Add (private) OTA libs
2017-12-03 23:56:16 +01:00
84ff733bbb
Call mgos_ili9341_set_rotation(); Reduce inactivity_timeout to 10s
2017-12-03 14:12:34 +01:00
d538533b23
Update mos.yml
2017-12-03 13:46:45 +01:00
fae52bb543
Add MQTT buttons!
2017-12-02 23:34:16 +01:00
ff84c5aa4b
Fix typo
2017-12-01 19:22:44 +01:00
b9a0578d5b
Allow app to compile for ESP8266 - add some conditionals based on mos.platform
2017-12-01 19:21:01 +01:00
eab5f31a92
Move to Native SPI implementations of ILI9341 and STMPE610
2017-12-01 13:57:43 +01:00
f87fec5ed0
Add battery calibration values
2017-11-27 23:14:17 +01:00
4aa8c56f40
add widget_battery() which shows the LiPo state of charge
2017-11-27 22:36:38 +01:00
d07a0e053c
Backlight support. TOUCH events feed backlight_keepalive(); After a timeout, we fade the backlight to 0 using timers. When the backlight is not active, TOUCH events are not passed to widgets, but the backlight is re-enabled; Add some flags to mos.yml to drive timeout and PWM pin for the backlight on Featherwing
2017-11-27 21:30:01 +01:00
b005dd8a26
Add in standard MGOS libraries
2017-11-26 10:59:42 +01:00
4f64ed554a
Initial commit
2017-11-25 01:14:04 +01:00