Philip P. Ide

Author, programmer, science enthusiast, half-wit.
Life is sweet. Have you tasted it lately?

User Tools

Site Tools


blog:articles:raspberry:phys_marsclock:pi_marsv1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
blog:articles:raspberry:phys_marsclock:pi_marsv1 [2020/10/22 14:21] – [Caveats] Phil Ideblog:articles:raspberry:phys_marsclock:pi_marsv1 [2020/11/12 14:17] – [Configuration] Phil Ide
Line 32: 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, reboot and shutdown).
  
 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 67: Line 69:
 {{:blog:articles:raspberry:phys_marsclock:bgimages.png?direct&400|}} {{:blog:articles:raspberry:phys_marsclock:bgimages.png?direct&400|}}
 {{:blog:articles:raspberry:phys_marsclock:admin_proxy.png?direct&400|}} {{:blog:articles:raspberry:phys_marsclock:admin_proxy.png?direct&400|}}
 +
 +~~socialite~~
 +~~DISCUSSION~~
  
blog/articles/raspberry/phys_marsclock/pi_marsv1.txt · Last modified: 2020/11/20 11:08 by Phil Ide

Except where otherwise noted, content on this wiki is licensed under the following license: Copyright © Phil Ide
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki