|
7ba19c8372
|
Make screen work at 480x320 as well as 320x240
|
2017-12-07 01:28:27 +01:00 |
|
|
7c3f699275
|
Make widgets span the get_screenWidth() value
|
2017-12-07 00:00:13 +01:00 |
|
|
f598290e54
|
Add (private) OTA libs
|
2017-12-03 23:56:16 +01:00 |
|
|
135f9033aa
|
Test commit
|
2017-12-03 23:43:57 +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 |
|
|
0bede8cca6
|
fix typo
|
2017-12-03 12:45:59 +01:00 |
|
|
0628cf59a6
|
Remove the text that comes from huzzah32-featherwing
|
2017-12-03 12:45:15 +01:00 |
|
|
84dfb7c516
|
Register prometheus callback only once
|
2017-12-02 23:49:53 +01:00 |
|
|
fae52bb543
|
Add MQTT buttons!
|
2017-12-02 23:34:16 +01:00 |
|
|
2b756cee3d
|
Add 'mqtt' field -- a \001 delimited string of topics+messages to send
|
2017-12-02 21:29:42 +01:00 |
|
|
b8e5637c8b
|
First start of MQTT buttons
|
2017-12-02 16:51:09 +01:00 |
|
|
c315de560f
|
Fix non-void return in screen_widget_broadcast()
|
2017-12-02 15:33:56 +01:00 |
|
|
cda842da53
|
Implement EV_WIDGET_DRAW and call screen_widget_broadcast() on screen loads
|
2017-12-02 14:23:14 +01:00 |
|
|
f7a62fce48
|
Add screen_widget_broadcast()
|
2017-12-02 14:18:54 +01:00 |
|
|
ef4451b81f
|
Initial stab at WIDGET_LOADSCREEN and navigation
|
2017-12-02 14:15:22 +01:00 |
|
|
980ac4c7cf
|
Remove 'user_data' arg from widget_set_handler
|
2017-12-02 13:42:32 +01:00 |
|
|
5a283bd87f
|
Set w->user_data to 'screen' for type=WIDGET_TYPE_LOADSCREEN
|
2017-12-02 13:37:00 +01:00 |
|
|
c3a71a9b69
|
Add widget_default_destroy()
|
2017-12-02 13:33:51 +01:00 |
|
|
4e1a9f4c2a
|
Change images to DIFs for faster drawing
|
2017-12-02 12:22:14 +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 |
|
|
95e2835871
|
Draw images as blue roundrects; Add labels to non-imagery widgets, if they are set
|
2017-12-01 16:16:57 +01:00 |
|
|
01bbb5d363
|
Update README that we're using Mongoose OS's native SPI driver
|
2017-12-01 15:47:02 +01:00 |
|
|
e7f674fa6f
|
Show the use of multiple fonts
|
2017-12-01 15:43:03 +01:00 |
|
|
eab5f31a92
|
Move to Native SPI implementations of ILI9341 and STMPE610
|
2017-12-01 13:57:43 +01:00 |
|
|
5b80d88b86
|
Extend keepalive if the user is currently touching the screen -- this avoids the screen fading out on presses longer than the inactivity timeout
|
2017-11-28 15:58:46 +01:00 |
|
|
af23ddee37
|
Add mgos_stmpe610_is_touched() to let callers know if the user is pressing the screen at this moment
|
2017-11-28 15:57:59 +01:00 |
|
|
1ef7195728
|
Update README with the new backlight implementation details
|
2017-11-28 15:42:52 +01:00 |
|
|
7041526a39
|
Small formatting changes; Set backlight on before SMTPE610
|
2017-11-28 15:32:54 +01:00 |
|
|
9fc40fd800
|
New implementation of backlight based on persistent keepalive timer, rather than oneshot timer
|
2017-11-28 15:32:27 +01:00 |
|
|
c35d959c1a
|
Rewrite widget_battery_render() to assume full at 4100mV, clipping 'h' between [0,12]
|
2017-11-28 10:26:29 +01:00 |
|
|
801e4435ce
|
Call battery 'full' at 4100mV
|
2017-11-28 09:01:13 +01:00 |
|
|
4b851ef144
|
Measured the MCU to shut off at 3500mV -- update widget_battery() to match what I saw
|
2017-11-28 07:02:33 +01:00 |
|
|
d01f9f81c9
|
Add Youtube video
|
2017-11-28 01:40:25 +01:00 |
|
|
1aa76602b3
|
Fix typo in image name
|
2017-11-28 01:35:09 +01:00 |
|
|
43c842ccfa
|
Add picture illustrating the soldering done
|
2017-11-28 01:34:29 +01:00 |
|
|
fac8d3b593
|
Add soldering requirements
|
2017-11-28 01:15:00 +01:00 |
|
|
6d3b693850
|
Fix some typos, add some clarifying language.
|
2017-11-28 01:06:07 +01:00 |
|
|
5ebe240d6b
|
Add Acknowledgements
|
2017-11-28 00:51:22 +01:00 |
|
|
062e8144b3
|
First README.md
|
2017-11-28 00:45:58 +01:00 |
|
|
b96d06bf1b
|
Add AP2 license
|
2017-11-27 23:51:29 +01:00 |
|
|
f87fec5ed0
|
Add battery calibration values
|
2017-11-27 23:14:17 +01:00 |
|
|
72f757a913
|
Add prometheus hook for battery voltage
|
2017-11-27 22:59:26 +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 |
|
|
5f10481fb7
|
STMPE610: Detect TOUCH_DOWN w/o TOUCH_UP, which happens with very short touch durations. If detected, resend the TOUCH_UP event
|
2017-11-26 22:41:31 +01:00 |
|
|
ed9906a0bf
|
Move to RoundRect() -- draw RED on TOUCH_DOWN, GREEN on TOUCH_UP
|
2017-11-26 22:23:35 +01:00 |
|
|
2e0d122f2e
|
Add third button
|
2017-11-26 22:23:13 +01:00 |
|
|
ed98d2de7c
|
Trigger draw on TOUCH_UP
|
2017-11-26 22:13:49 +01:00 |
|