Script help

For RTC breakouts, etc., use the Other Products from Adafruit forum

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
LitingWolf
 
Posts: 41
Joined: Thu Jan 02, 2020 3:03 pm

Script help

Post by LitingWolf »

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

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Script help

Post by mikeysklar »

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

User avatar
LitingWolf
 
Posts: 41
Joined: Thu Jan 02, 2020 3:03 pm

Re: Script help

Post by LitingWolf »

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

User avatar
kcl1s
 
Posts: 1512
Joined: Tue Aug 30, 2016 12:06 pm

Re: Script help

Post by kcl1s »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Clock Kits (discontinued)”