blog:articles:raspberry:phys_marsclock:pi_marsv1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
blog:articles:raspberry:phys_marsclock:pi_marsv1 [2020/08/30 15:46] – [Caveats] Phil Ide | blog:articles:raspberry:phys_marsclock:pi_marsv1 [2020/11/12 14:17] – [Configuration] Phil Ide | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Pi-Mars v1.0 ====== | + | ====== Pi-Mars v1.1 ====== |
- | [{{: | + | [{{: |
+ | |||
+ | Having written several clocks that tell the time at various locations on Mars for my [[blog: | ||
=== === | === === | ||
The Raspberry Pi was a shoe-in for the job. Items required: | The Raspberry Pi was a shoe-in for the job. Items required: | ||
Line 30: | Line 32: | ||
* write to the SD card only when absolutely necessary, to help extend its life | * write to the SD card only when absolutely necessary, to help extend its life | ||
* optimised code wherever possible, but maintain flexibility and readability | * optimised code wherever possible, but maintain flexibility and readability | ||
+ | |||
+ | v1.1 added power management options (quit the application, | ||
Optimising the code was essential. Although computers are great for repetitive tasks, making them work unduly hard at high frequency rates persistently reduces their lifespan. This clock was going to perform a large number of calculations and then repeat that task up to ten times every second (user configurable). Giving the clock a breather between each trip around the loop is just taking care of the equipment. | Optimising the code was essential. Although computers are great for repetitive tasks, making them work unduly hard at high frequency rates persistently reduces their lifespan. This clock was going to perform a large number of calculations and then repeat that task up to ten times every second (user configurable). Giving the clock a breather between each trip around the loop is just taking care of the equipment. | ||
Line 48: | Line 52: | ||
At this time, the sunclock is not working properly because the clock isn't calculating the times of sunrise and sunset properly. These will be fixed in a future update. | At this time, the sunclock is not working properly because the clock isn't calculating the times of sunrise and sunset properly. These will be fixed in a future update. | ||
- | I'm currently writing up a document that explains how to make and modify skins. I'll upload this as soon as I can. | + | Installation instructions |
===== Screenshots ===== | ===== Screenshots ===== | ||
{{: | {{: | ||
Line 65: | Line 69: | ||
{{: | {{: | ||
{{: | {{: | ||
+ | |||
+ | ~~socialite~~ | ||
+ | ~~DISCUSSION~~ | ||
blog/articles/raspberry/phys_marsclock/pi_marsv1.txt · Last modified: 2020/11/20 11:08 by Phil Ide