Welcome Gabriel!
You can start from bere:
https://github.com/souliss/souliss/wiki/SoulissAPI
DigInHold for example is the right choise for you. For double click i think you must add a function on your sketch.
Hope this help,
Flavio.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/ae4ce40f-4f3f-4a3a-a8f9-c48f8e411497%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
;)
Flavio.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/747de1a1-9c4b-4ac2-b59a-aa4aacd59ccc%40googlegroups.com.
Hi Gabriel,
you may try otherwise with a stop flag. Till your timer is used for a button the stop flag is set, so that the other buttons will not work.
So in that case, you have to press again but you will not disturb the first pressed one.
Otherwise the option is to keep this function at user level and not framework one, because at framework level we are obliged to keep a timer for each possible button. At user level you set the number of timers based on your needs.
An other option is to write the function as class, so that each instance of the class has its timer. So if you have two inputs, the class is initialized twice and you have separate timers without have to foreseen timers for all the pins.
Dario.
From Mobile.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/59bf7458-32cd-46d3-801d-8bc32f73cfc9%40googlegroups.com.
Use DigInHold on an empty slot, if(DigInHold(...)==value1) mInput(slotX)=...; else if(DigInHold(...)==value2) mInput(slotY)=...;
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+unsubscribe@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/a32a9ea8-3470-4ace-991e-240569210e63%40googlegroups.com.
Use DigInHold on an empty slot, if(DigInHold(...)==value1) mInput(slotX)=...; else if(DigInHold(...)==value2) mInput(slotY)=...;
Dario.
From Mobile.
On 16 Aug 2016 22:12, "'guyc' via souliss" <sou...@googlegroups.com> wrote:
--
I'm looking for a similar function to control 2 different slots with one push button, but cannot find any function usable. DigInHoldSteps seems the only function at the moment to control different slots.
What I need :
short puls : control slot X
long puls or double puls : control slot y.
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.