AskSin++
Public Member Functions | List of all members
as::Led< PINTYPE > Class Template Reference
Inheritance diagram for as::Led< PINTYPE >:
Inheritance graph
[legend]
Collaboration diagram for as::Led< PINTYPE >:
Collaboration graph
[legend]

Public Member Functions

void init (uint8_t p)
 
void invert (bool value)
 
bool invert () const
 
void set (Mode stat, const BlinkPattern *patt)
 
void ledOff ()
 
void ledOn ()
 
void ledOn (uint32_t ticks)
 
bool active () const
 
virtual void trigger (AlarmClock &clock)
 
- Public Member Functions inherited from as::Alarm
 Alarm (uint32_t t)
 
 Alarm (uint32_t t, bool asynch)
 
void set (uint32_t t)
 
void async (bool value)
 
bool async () const
 
void active (bool value)
 
bool active () const
 

Additional Inherited Members

- Public Types inherited from as::LedStates
enum  Mode {
  nothing =0, pairing =1, send =2, ack =3,
  nack =4, bat_low =5, welcome =6, key_long =7,
  failure =8
}
 
- Public Attributes inherited from as::Alarm
uint32_t tick: 24
 
- Static Public Attributes inherited from as::LedStates
static const BlinkPattern single[9] PROGMEM
 
static const BlinkPattern dual1[9] PROGMEM
 
static const BlinkPattern dual2[9] PROGMEM
 
- Protected Attributes inherited from as::Alarm
bool m_Async: 4
 
bool m_Active: 4
 

Detailed Description

template<class PINTYPE = ArduinoPins>
class as::Led< PINTYPE >

Definition at line 31 of file Led.h.