summaryrefslogtreecommitdiff
path: root/wasp/apps
AgeCommit message (Collapse)Author
2020-08-16README: Add a (fairly) comprehensive screenshot tourDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-15apps: stopwatch: Add NEXT supportDaniel Thompson
On a device with NEXT support we need to make sure we reset the stopwatch when switching away from it (if it is not running) since there may not be any other way to reset it. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-07-24StatusBar: Rename and add BLE connection status iconDaniel Thompson
Notifier was a dumb name so make it better. Now that we have a decent name it should be obvious how to handle the BLE connection status icon! Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-07-19Introduction basic notification supportDaniel Thompson
This requires a modified version of Gadgetbridge and currently works by implementing the BangleJS protocol. In Gadgetbridge ensure "Sync time" is *not* set and choose "Don't pair" when adding the PineTime device.
2020-06-27apps: stopwatch: Improve splits... and colour schemeDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-25ppg: Pull the PPG signal processing into a seperate libraryDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-24apps: heart: Initial heart rate detectionDaniel Thompson
The algorithm is fairly crude and the GUI is pretty simple but, if you stay still for 10 seconds, there's a good chance of an accurate pulse reading. Of course if you jog on the spot for ten seconds it more likely to calculate how many steps per minutes you are performing! Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-22apps: heart: Introduce simple app for the heart rate sensorDaniel Thompson
The heart rate analysis step is still a work in progress but the current app allows us to visualize the the results of the signal conditioning. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-22wasp: Switch to the faster fill routinesDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-22apps: testapp: Filled rectangle drawing benchmarksDaniel Thompson
Measure the performance of the quarter screen fill, horizontal lines and vertical lines. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-12apps: [steps,stopwatch]: Increase font size of clockDaniel Thompson
We also change the colour scheme slightly because the increased size of the clock interferes visually with the main display when it is bright white. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-12apps: steps: Fix the overnight step counter resetDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-09wasp: apps: Step counter applicationDaniel Thompson
Currently there's no fancy algorithms to estimate stride length. Just pure simple step counting directly from the hardware's "intelligence engine". Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-05-24apps: settings: Adopt the slider... it looks more interestingDaniel Thompson
2020-05-24widgets: Introduce a slider widgetDaniel Thompson
Currently the slider doesn't actually slide (because we process touch events rather than swipe events) but we've called is a slider anyway.
2020-05-18apps: gameoflife: Better pixel colour selectionDaniel Thompson
2020-05-18draw565: Switch to a different palette for RLE 2-bit imagesDaniel Thompson
This is an incompatible change... older 2-bit images will need to be re-encoded to display correctly.
2020-05-17apps: demo: Move the logo into the demo appDaniel Thompson
The logo module is currently unused but it simply sits there consuming flash. Let's shift it to the demo app to is can consume RAM instead (but only when we upload the demo to the watch).
2020-05-17apps: demo: Move the demo code into a fully fledged applicationDaniel Thompson
2020-05-14wasp: Even more docstringsDaniel Thompson
2020-05-11docs: Introduce the Application Writer's Guide.Daniel Thompson
2020-05-10apps: template: Fix broken docstringDaniel Thompson
2020-05-10wasp: apps: Remove __init__.pyDaniel Thompson
wasp-os contains circular import dependancies (wasp includes apps which include wasp) but this is normally harmless. However using __init__.py exagerated to the problem and since the benefit of the __init__ file is pretty anyway the let's just remove it.
2020-04-26apps: launcher: Add a scroll ready indicatorDaniel Thompson
2020-04-26apps: launcher: Make app.ICON optionalDaniel Thompson
2020-04-26apps: stopwatch: Fix redraw bug (and remove some old test code)Daniel Thompson
2020-04-26wasp: nrf_rtc: Add a tiny bit of extra resolutionDaniel Thompson
We now have a couple of applications (stopwatch, Game of Life) that benefit from sub-second precision. The micropython RTC/utime code for nrf still needs a major overhaul but this allows us to paper over the cracks for just a little longer.
2020-04-18wasp: apps: Conway's Game of LifeDaniel Thompson
2020-04-14wasp: Manager: Bring in proper separation of appsDaniel Thompson
This is getting us much closer to the final UI concept. We have a quick ring from which we can select typical apps such as clock and stopwatch which will (eventually) be supplemented with step counting and heart rate monitoriing. More exotic apps (currenrtly torch, self test, settings) are all relagated to the launcher ring.
2020-04-14wasp: stopwatch: Replace the stub with a "real" implementationDaniel Thompson
There are still some holes here. In particular the RTC resolution on nRF devices (such as PineTime) is currently a full second (meaning the centiseconds will always be zero. Nevertheless that isn't the apps fault... as we can see when we run on the simulator.
2020-04-12WIP: Introduce the quick_ringDaniel Thompson
2020-04-12wasp: template: Implement optional application methodsDaniel Thompson
2020-04-12wasp: apps: Add shortcuts to all appsDaniel Thompson
2020-04-12wasp: testapp: Sort tests alphabeticallyDaniel Thompson
2020-04-11docs: Fix warnings and add a few extra apps to the docsDaniel Thompson
2020-04-11wasp: On-device crash reportingDaniel Thompson
If an application crashes let's report it on the device so it can be distinguished from a hang (if nothing else it should mean we get better bug reports).
2020-04-10wasp: apps: Add a new (super simple) settings appDaniel Thompson
2020-04-10wasp: draw565: Automatic RLE format conversionDaniel Thompson
From here we can also bring colour to the launcher!
2020-04-06wasp: testapp: Add RLE drawing benchmarks.Daniel Thompson
2020-04-06wasp: launcher: Experimental launcher implementationDaniel Thompson
It is not really the launcher itself that is immature. Rather that the framework and UI concepts to move between applications isn't complete yet.
2020-04-06wasp: widgets: Add a scrolling indicatorDaniel Thompson
As we enrich the navigation options we will increasinly need to visualize between apps where up/down will switch us between rings and there up/down is needed to scroll through content.
2020-04-06wasp: testapp: Add an option to force an exceptionDaniel Thompson
We will shortly be adding machinary to handle application errors more gracefully. This is a useful way to force an application error!
2020-04-06wasp: manager: make sleep() and background() callbacks optionalDaniel Thompson
Making callbacks optional reduces pointless boilerplate in applications.
2020-04-06wasp: Add button presses to the event system.Daniel Thompson
Here the biggest changes are in the test application because we refactor a number of the tests to make better use of the button. Although applications may consume button events it does have a default behavior which is to switch to the default application (usually the clock).
2020-04-06apps: Remove unused support for effect animationDaniel Thompson
After a bit of testing I have not yet come up with a fast, visually acceptable horizontal animated effect. Instead we simply reply on screen blanking during the redraw... meaning there is no need for an effect hint.
2020-04-06wasp: Get the terminology straightDaniel Thompson
As it turned out Direction was only a Direction because there were things missing from the enumeration!
2020-03-26wasp: Add support for brightness caching and keep-awake signallingDaniel Thompson
2020-03-26wasp: Move the constants into seperate container classesDaniel Thompson
2020-03-22Add licensing information for all wasp-os files.Daniel Thompson
2020-03-22Rename manager.py and expose its interfaces to all applicationsDaniel Thompson
This is a big change that break compatiblity with existing applications *and* with existing installed versions of main.py. When upgrading it is import to update main.py: ./tools/wasptool --upload wasp/main.py