It is possible somehow to create s schedule that activates a pin only for some seconds ?
Can this be achieved on rainmaker or via code?
Like activate an output and have it on only for 15 seconds ?
Thank you
Schedule that runs only some seconds ?
-
- Posts: 2
- Joined: Mon Jul 22, 2024 8:48 pm
-
- Posts: 309
- Joined: Wed Feb 20, 2019 7:02 am
Re: Schedule that runs only some seconds ?
You can create a schedule with 2 parameters, like say "gpio_state" and "timeout" and in your callback create a timer as per the timeout received. Let us know if that would work for you.
-
- Posts: 2
- Joined: Mon Jul 22, 2024 8:48 pm
Re: Schedule that runs only some seconds ?
Hi, thank you for your feedback, how can I add parameters to schedule? I don't find it on the app
-
- Posts: 309
- Joined: Wed Feb 20, 2019 7:02 am
Re: Schedule that runs only some seconds ?
Parameter settings will be under "Actions" in schedules. Did you check there? Also, schedules need to be explicitly enabled in the firmware. They are enabled by default in all examples using esp_rmaker_schedule_enable(). Please ensure that your project has the same.
Who is online
Users browsing this forum: No registered users and 34 guests