http://qs321.pair.com?node_id=1224862


in reply to Re^2: Implementing a 2-mode "Audiobutton" on the Raspberry Pi
in thread Implementing a 2-mode "Audiobutton" on the Raspberry Pi

3600 is seconds per hour, 86400 is seconds per day

Yesterday in the UK we had 90,000 seconds. In the hour from 1am to 2am we had 7200 seconds. Magic numbers will get you in the end.

  • Comment on Re^3: Implementing a 2-mode "Audiobutton" on the Raspberry Pi