Commit Graph

45 Commits (37c10e28b9bd6c22a4d80a92ffb8bf986405fba1)

Author SHA1 Message Date
Lambert, Niek 37c10e28b9 add patches form Niek Lambert
* Added fixpointer version of altitude calculation.
when the two remaining filters get fixpointer replacments, a LOT of space gets free by not using floatpointer anywhere.
the fixpointer versions are also smaller in size.
* better display of weekday
* show time also in second line
* force gcc to not optimize anything in delay intrinsic

thanks a lot
13 years ago
Marc 795064fd7a Merge branch 'master' of http://github.com/poelzi/OpenChronos 13 years ago
Daniel Poelzleithner 8f3dac3a9d fix compilation error on clock select 13 years ago
Marc fe862ac2cf Merge branch 'master' of http://github.com/poelzi/OpenChronos 13 years ago
Dean Sellers ae7430d448 Merge branch 'add_am_pm' 13 years ago
Marc acd04b19af vario now uses an history to smooth values. hist length currently hardcoded, but could be parametrized... 13 years ago
Eric Allen 104e18a5af Make CONFIG_ALTITUDE actually toggle Altitude module 13 years ago
Marc c5397988d4 bug fix: looks like I figured out how itoa() works. I guess, at least... 13 years ago
Marc fbc291a63c fix 'prout' module 13 years ago
Marc 119a728287 first working (kind of) vario meter.
Still some problem of understanding with itoa and friends.
13 years ago
Marc c1db39bdd0 change example name, let space for the actual vario function 13 years ago
Dean Sellers 9a85de57bd Refactored the code to display hours so that a single function from display.c is used. 13 years ago
Marc 9ef06b5399 Very simple modification.
Displays a moving message on line2 (moves by 1char/sec).
13 years ago
Dean Sellers f563696b92 Added compile time configuration to select AM/PM or 24 hour time display.
Possible (in order of code size requirements) to compile with 24hr, AM/PM or selectable.
This also breaks the link between metric units and time display mode.
13 years ago
Daniel Poelzleithner a6563f14e0 fix test mode 13 years ago
Daniel Poelzleithner 18825f8ddf sleep phase updates
save a lot of energy by shutting of the rf part between sending. it is a interval of 2-3 seconds, so it saves
added gui to set program id
added a workaround for a very hard to fix bug when the battery is quite low in power. bug 1 sets it on
removed unused code
13 years ago
Daniel Poelzleithner 99f3955d13 fix another case 13 years ago
Daniel Poelzleithner 79d199a35c fix CONFIG_METRIC_ONLY in temperature 13 years ago
Daniel Poelzleithner 2142fa5ac3 Merge branch 'master' of http://github.com/epall/OpenChronos 13 years ago
Daniel Poelzleithner 21bfd0134c implement sync ping
a sync ping packet is sent when the clock enters sync mode.
this allows an ap program to sync the clock automaticly and exit the sync mode.
The sync ping packet is sent until any packet is received.
13 years ago
Eric Allen 5316f25476 Fix some typos 13 years ago
Daniel Poelzleithner d39ef8deb2 readd bluerobin code
readd bluerobin coda and IAR project files changed to current file structure.
13 years ago
Daniel Poelzleithner 25e7e40351 unbreak on phase_clock off 13 years ago
Daniel Poelzleithner fd3ff268c8 large update to sleep clock code and simplicti
* implemented a nice send and receive framework.
  Code in simplic_tx_only loop can request receive window.
  In this window the recv of rf will be active and a R2R
  (ready to receive) package is sent. By then the AP should
  have filled outgoing buffer and a received handler is called.

* made the sleep clock use initialisation.
  When starting the sleep clock, a new session id is requested that is
  sent with every package (3 bits), together with the couter (5 bits).
  When initialized a hash of the hardware address is sent so the clock
  can detect which watch is running. Also a currently unused program id
  can be sent to select the watch program later on.
13 years ago
Daniel Poelzleithner 4c597e4bd4 fix up eggtimer
fixed up eggtimer for changes in sourcecode since it was implemented.
13 years ago
Daniel Poelzleithner 736b3670e7 merge in eggtimer
eggtimer taken from http://sourceforge.net/projects/tichronostimer
13 years ago
Daniel Poelzleithner cb9c9ad1e9 removed old function that was moved to display driver 13 years ago
Daniel Poelzleithner 4abb38338e fix casting warning 13 years ago
Daniel Poelzleithner 4dfdbaa607 fix unused variable warnings 13 years ago
Daniel Poelzleithner 08d77355f4 fix warning of unused variable 13 years ago
Daniel Poelzleithner f2ad741c91 make testmode configurable
allow test mode to toggle
add ifndef safty option in config generator
13 years ago
Daniel Poelzleithner cd18e04944 bytes save
ifdef feet code on metric_only
13 years ago
Daniel Poelzleithner fb17d309b3 Merge branch 'master' of http://github.com/psehorne/eZChronos 13 years ago
Paul F. Sehorne 4bb75a76df Stopwatch.c assumed 32768/100 = 328. As a result stopwatch ran TOO FAST.
I changed the header file to agree with the assumption in stopwatch.c
Stopwatch now keeps much more accurate time.
13 years ago
Daniel Poelzleithner 1542c06313 nicer lcd display effects in sleep mode 13 years ago
Daniel Poelzleithner 0bf5c5144e bytessave on metric only
don't compile in fahrenheit conversation on metric only flags
13 years ago
Daniel Poelzleithner d5c538caa5 finish up sleep clock
fix and finish up the phase clock code so it actuall works. Recorded the first sleep phase this night with uberclock and it looks quite good. Code needs cleanup however.
Needs connection checking and relinking on problems....
13 years ago
Daniel Poelzleithner 5929b6a2e9 better rfbsl messages
use the lock/open mechanism to show lock status of the clock
13 years ago
Daniel Poelzleithner be00c6f7d9 add silence modus
pressing STAR and UP for long time sets silence modus (no beep)
README updates
13 years ago
Daniel Poelzleithner 1472b0e8db fix typo
fix wedsday typo
13 years ago
Daniel Poelzleithner 8533816ade started phase clock
started a phase clock code to send compressed acceleration data
and send it to the clock running somewhere else
13 years ago
Daniel Poelzleithner bd7448df28 make date of week display date
make the date of week show the name not a number. make the code configurable
13 years ago
Daniel Poelzleithner 153659b77f fix metric only
fix metric only setting code and more code removal
13 years ago
Daniel Poelzleithner 850892a9dd add option to compile out 12h code
we can save some space by compiling out the 12h am/pm code
13 years ago
unknown 2daf978279 Initial commit:
This port consists of the following:
0) All places where I modified the original code
(hopefully) are marked with my initials PFS or pfs.
The only actual code changes were to write four
functions to replace the intrinsic functions used
by TI and IAR.
1) bluerobin code had to be elimiated because
mspgcc cannot link to the provided bluerobin library
and the source code is not available.
2) four intrinsic functions had to be written.
As of 2010-06-13 they are untested and couple of
them probably don't work yet.
3) All compiler specific areas what accommodated
IAR and CCS were enhanced to accommodate MSPgcc4
4) The Simpliciti *.dat files were converted to *.h files
13 years ago