https://github.com/vifon/gravcalc
Accelerometer-based calculator for the Pebble smartwatch
https://github.com/vifon/gravcalc
accelerometer calculator pebble pebble-smartwatch reverse-polish-notation
Last synced: 21 days ago
JSON representation
Accelerometer-based calculator for the Pebble smartwatch
- Host: GitHub
- URL: https://github.com/vifon/gravcalc
- Owner: vifon
- License: gpl-3.0
- Created: 2015-01-08T20:52:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-05-26T11:53:30.000Z (about 7 years ago)
- Last Synced: 2025-12-01T07:09:08.087Z (6 months ago)
- Topics: accelerometer, calculator, pebble, pebble-smartwatch, reverse-polish-notation
- Language: C++
- Homepage: https://apps.rebble.io/en_US/application/54afb90f413f38e0f8000054
- Size: 1.65 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
GravCalc
========
[](https://travis-ci.org/Vifon/GravCalc)
Accelerometer-based calculator for the Pebble smartwatch.
[Rebble Appstore URL](https://apps.rebble.io/en_US/application/54afb90f413f38e0f8000054)
Run `make doc` to generate the documentation with Doxygen.
USAGE
-----
Buttons:
- **lower**: click
- **middle**: push to the stack
- **middle longpress**: empty the stack
- **upper**: backspace / pop the last number from the stack
- **upper longpress**: delete the current number
The calculator uses the
[Reverse Polish Notation (RPN)](http://en.wikipedia.org/wiki/Reverse_Polish_notation).
INSTALLATION
------------
Once you have the Pebble SDK set up, just run the following commands:
$ make
$ export PEBBLE_PHONE=192.168.???.??? # (your phone's IP)
$ make install
ACKNOWLEDGMENTS
---------------
GravCalc was inspired by
[this post on Reddit](http://www.reddit.com/r/pebble/comments/2rl91o/app_request_a_cursor_based_calculator_that_uses/).
Photos under the CC-BY license used in the promotional materials:
[bear](http://commons.wikimedia.org/wiki/File:Ursus_arctos_-_Norway.jpg).
COPYRIGHT
---------
Copyright (C) 2015 Wojciech Siewierski
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 3
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .