An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

GravCalc
========

[![Build Status](https://travis-ci.org/Vifon/GravCalc.svg?branch=master)](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 .