Kaleidoscope
Public Member Functions | Public Attributes | List of all members
KeyboardioScanner Class Reference

#include <KeyboardioScanner.h>

Collaboration diagram for KeyboardioScanner:
Collaboration graph
[legend]

Public Member Functions

 KeyboardioScanner (byte setAd01)
 
 ~KeyboardioScanner ()
 
int readVersion ()
 
byte setKeyscanInterval (byte delay)
 
int readKeyscanInterval ()
 
byte setLEDSPIFrequency (byte frequency)
 
int readLEDSPIFrequency ()
 
bool moreKeysWaiting ()
 
void sendLEDData ()
 
void setOneLEDTo (byte led, cRGB color)
 
void setAllLEDsTo (cRGB color)
 
keydata_t getKeyData ()
 
bool readKeys ()
 
uint8_t controllerAddress ()
 

Public Attributes

LEDData_t ledData
 

Constructor & Destructor Documentation

◆ KeyboardioScanner()

KeyboardioScanner::KeyboardioScanner ( byte  setAd01)

◆ ~KeyboardioScanner()

KeyboardioScanner::~KeyboardioScanner ( )

Member Function Documentation

◆ controllerAddress()

uint8_t KeyboardioScanner::controllerAddress ( )

◆ getKeyData()

keydata_t KeyboardioScanner::getKeyData ( )

◆ moreKeysWaiting()

bool KeyboardioScanner::moreKeysWaiting ( )

◆ readKeys()

bool KeyboardioScanner::readKeys ( void  )

◆ readKeyscanInterval()

int KeyboardioScanner::readKeyscanInterval ( )

◆ readLEDSPIFrequency()

int KeyboardioScanner::readLEDSPIFrequency ( )

◆ readVersion()

int KeyboardioScanner::readVersion ( )

◆ sendLEDData()

void KeyboardioScanner::sendLEDData ( )

◆ setAllLEDsTo()

void KeyboardioScanner::setAllLEDsTo ( cRGB  color)

◆ setKeyscanInterval()

byte KeyboardioScanner::setKeyscanInterval ( byte  delay)

◆ setLEDSPIFrequency()

byte KeyboardioScanner::setLEDSPIFrequency ( byte  frequency)

◆ setOneLEDTo()

void KeyboardioScanner::setOneLEDTo ( byte  led,
cRGB  color 
)

Member Data Documentation

◆ ledData

LEDData_t KeyboardioScanner::ledData

The documentation for this class was generated from the following files: