Sequential Button (for Arduino) 1.5
Sequential Button library for Arduino documentation
Loading...
Searching...
No Matches
CombinationExample.ino File Reference
#include <SeqButton.h>
Include dependency graph for CombinationExample.ino:

Functions

void setup ()
 
void loop ()
 
void SetCombination_cback (SeqButton *button)
 
void ResetCombination_cback (SeqButton *button)
 
uint8_t check_combination (uint8_t val)
 
void treat_combination ()
 

Variables

SeqButton but1
 
SeqButton but2
 
SeqButton but3
 
SeqButton but4
 
SeqButtonbuttons [4] = { &but1, &but2, &but3, &but4 }
 
uint8_t combination = 0
 

Function Documentation

◆ check_combination()

uint8_t check_combination ( uint8_t val)
Here is the caller graph for this function:

◆ loop()

void loop ( )
Here is the call graph for this function:

◆ ResetCombination_cback()

void ResetCombination_cback ( SeqButton * button)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetCombination_cback()

void SetCombination_cback ( SeqButton * button)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setup()

void setup ( )
Here is the call graph for this function:

◆ treat_combination()

void treat_combination ( )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ but1

SeqButton but1

◆ but2

SeqButton but2

◆ but3

SeqButton but3

◆ but4

SeqButton but4

◆ buttons

SeqButton* buttons[4] = { &but1, &but2, &but3, &but4 }

◆ combination

uint8_t combination = 0