Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Script help
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Script help

by LitingWolf on Fri Jan 24, 2020 4:49 pm

So i need help i want to make a clock and i want something to happen in like every time a pasific number in minutes does not matter what hour it does so like min 25 or min 02 or min 10 it will do something how can i do something like that on a RTS

LitingWolf
 
Posts: 37
Joined: Thu Jan 02, 2020 3:03 pm

Re: Script help

by mikeysklar on Fri Jan 24, 2020 8:22 pm

Hi LitingWolf,

Take a look at our Large Pi-Based Thermometer and Clock guide. It uses an RTC if you checkout the ':' blink control that is being toggled with a method that checks for every other second. You could make more methods for the different minute values you are interested in.

https://learn.adafruit.com/large-pi-bas ... software-2

mikeysklar
 
Posts: 1730
Joined: Mon Aug 01, 2016 8:10 pm

Re: Script help

by LitingWolf on Sat Jan 25, 2020 12:36 am

i think i can tell what i need to do but im a beginner in scripting tho

LitingWolf
 
Posts: 37
Joined: Thu Jan 02, 2020 3:03 pm

Re: Script help

by kcl1s on Sat Jan 25, 2020 1:12 am

LitingWolf wrote:i think i can tell what i need to do but im a beginner in scripting tho

While I admire your wanting to learn. You may want to work your way up to RTCs and other libraries/peripherals by getting comfortable with simple example code, then try to understand the library examples as your knowledge increases. Then you will understand how to use the library statements in your own code.

Fellow hobbyist
Keith

kcl1s
 
Posts: 1511
Joined: Tue Aug 30, 2016 12:06 pm

Please be positive and constructive with your questions and comments.