Skip to content

Create world_clock_fr.py#54

Open
adetauriac wants to merge 2 commits intopimoroni:mainfrom
adetauriac:patch-1
Open

Create world_clock_fr.py#54
adetauriac wants to merge 2 commits intopimoroni:mainfrom
adetauriac:patch-1

Conversation

@adetauriac
Copy link
Copy Markdown

Based of original example, new version for French world clock. On 12h setting , add "PM" for afternoon
Remove double call ntptime
Add touch option to switch on 2 differents option to "said" time

  • All minutes after hour
  • minutes before next hour (if minutes > 30)

Remove sleep before check time, to use "Timer" and keep posibility to use the touch

Based of original example, new version for French world clock.
On 12h setting , add "PM" for afternoon 
Remove double call ntptime
Add touch option to switch on 2 differents option to "said" time
- All minutes after hour
- minutes before next hour (if minutes > 30)
Fix bug when minute is 55. We need to use option H minus 5min, whatever the option of presentation. 
Add condition on return option  approx_time_fr, to use correct structure of matrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant