summaryrefslogtreecommitdiff
path: root/src/DisplayApp/DisplayApp.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-01-17Disable SPI, I²C, touch controller and display controller in sleep mode.JF1-0/+5
Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
2020-01-12Improve date/time accuracy and handle counter overflow.JF1-13/+21
2020-01-11Add date library (https://github.com/HowardHinnant/date) to manage the date ↵JF1-20/+37
and time. The date is now properly processed (31 December 2019 23:59:59 + 1s => 1 January 2020 00:00:00)
2020-01-03Add basic touch panel driver.JF1-1/+17
Handle touch event in display app : draw a big square at the touch point coordinates.
2020-01-02Send command DisplayOn/Off to LCD when enabling/disabling the display.JF1-0/+2
2019-12-28Add DateTimeController to manage the time.JF1-54/+91
Use messages in message queues to refresh the UI
2019-12-27Add BleController to manage the BLE connection statusJF1-3/+12
2019-12-27Implement battery measurement in BatteryController.JF1-7/+16
Update battery info on wake up (with button)
2019-12-27Add small font, display date, Ble connection and battery power in display ↵JF1-1/+4
app (hard-coded values for now).
2019-12-26Use push button to go to sleep/wake up.JF1-14/+65
Use a queue to transmit messages between system and display task (sleep & wake up for now).
2019-12-21Track the time using RTCJF1-4/+25
2019-12-21Add BLE and CTS client. Time can be retrieved from a CTS server (like ↵JF1-22/+31
NRFConnect) once it's bond. WIP, the code is really ugly
2019-12-07The font is now fixed width.JF1-6/+50
HUGE performance improvement of the display driver.
2019-12-07Convert Spi and GFX to C++.JF1-150/+30
2019-12-06Add missing return statements which fix crashes in release mode.JF1-3/+3
Add flag to compiler so that it generates an error when a returning function does not return something...
2019-12-05Add DisplayApp, and lcdfont. Update the display every secondJF1-0/+184