Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Tick button to blue one sample true

Post any examples or modules that you want to share here

Tick button to blue one sample true

Postby Tepeix » Tue Apr 26, 2022 2:58 pm

Hi,

Here's a way to make the tick button fire only one sample in blue or white.

Note that there's another solution here : viewtopic.php?f=2&t=90847&p=227495#p227495

I will try to optimize with a special hop.

(Include also a little counter prototype)
Attachments
Tick to Blue (or White).fsm
(18.98 KiB) Downloaded 555 times
Tepeix
 
Posts: 361
Joined: Sat Oct 16, 2021 3:11 pm

Re: Tick button to blue one sample true

Postby Tepeix » Wed Apr 27, 2022 12:20 am

While meditating, another idea comes in my mind.

Now each tick make alternate a counter from 1 to 0.
The code keep a temp variable of the input and compare.

It's a little simpler and could be use more easily.
Attachments
tick to blue another way.fsm
(3.91 KiB) Downloaded 540 times
Tepeix
 
Posts: 361
Joined: Sat Oct 16, 2021 3:11 pm

Re: Tick button to blue one sample true

Postby Tepeix » Sat Apr 30, 2022 3:48 pm

Thanks to Spogg ! We have some simplification on the counter that become a flipper !)
I did not see that in my meditation ;)
Attachments
tick to blue spogg's .fsm
(25.64 KiB) Downloaded 541 times
Tepeix
 
Posts: 361
Joined: Sat Oct 16, 2021 3:11 pm


Return to User Examples

Who is online

Users browsing this forum: Google [Bot] and 50 guests