Classes | Typedefs | Functions
BlinkM_funcs.h File Reference
#include <Wire.h>
#include "utility/twi.h"
Include dependency graph for BlinkM_funcs.h:

Go to the source code of this file.

Classes

struct  _blinkm_script_line
 

Typedefs

typedef struct _blinkm_script_line blinkm_script_line
 

Functions

static void BlinkM_begin ()
 
static void BlinkM_beginWithPower ()
 
static void BlinkM_beginWithPowerPins (byte pwrpin, byte gndpin)
 
static int BlinkM_checkAddress (byte addr)
 
static void BlinkM_fadeToHSB (byte addr, byte hue, byte saturation, byte brightness)
 
static void BlinkM_fadeToRandomHSB (byte addr, byte hrnd, byte srnd, byte brnd)
 
static void BlinkM_fadeToRandomRGB (byte addr, byte rrnd, byte grnd, byte brnd)
 
static void BlinkM_fadeToRGB (byte addr, byte red, byte grn, byte blu)
 
static int8_t BlinkM_findFirstI2CDevice ()
 
static int BlinkM_getAddress (byte addr)
 
static int BlinkM_getInputs (byte addr, byte inputs[])
 
static int BlinkM_getInputsO (byte addr)
 
static void BlinkM_getRGBColor (byte addr, byte *r, byte *g, byte *b)
 
static int BlinkM_getVersion (byte addr)
 
static void BlinkM_playScript (byte addr, byte script_id, byte reps, byte pos)
 
static void BlinkM_readScriptLine (byte addr, byte script_id, byte pos, blinkm_script_line *script_line)
 
static int BlinkM_receiveBytes (byte addr, byte *resp, byte len)
 
static void BlinkM_scanI2CBus (byte from, byte to, void(*callback)(byte add, byte result))
 
static void BlinkM_sendCmd (byte addr, byte *cmd, int cmdlen)
 
static void BlinkM_setAddress (byte newaddress)
 
static void BlinkM_setFadeSpeed (byte addr, byte fadespeed)
 
static void BlinkM_setRGB (byte addr, byte red, byte grn, byte blu)
 
static void BlinkM_setScriptLengthReps (byte addr, byte script_id, byte len, byte reps)
 
static void BlinkM_setStartupParams (byte addr, byte mode, byte script_id, byte reps, byte fadespeed, byte timeadj)
 
static void BlinkM_setTimeAdj (byte addr, byte timeadj)
 
static void BlinkM_startPower ()
 
static void BlinkM_startPowerWithPins (byte pwrpin, byte gndpin)
 
static void BlinkM_stopPower ()
 
static void BlinkM_stopPowerWithPins (byte pwrpin, byte gndpin)
 
static void BlinkM_stopScript (byte addr)
 
static void BlinkM_writeScript (byte addr, byte script_id, byte len, byte reps, blinkm_script_line *lines)
 
static void BlinkM_writeScriptLine (byte addr, byte script_id, byte pos, byte dur, byte cmd, byte arg1, byte arg2, byte arg3)
 

Typedef Documentation

Function Documentation

static void BlinkM_begin ( )
static

Definition at line 42 of file BlinkM_funcs.h.

static void BlinkM_beginWithPower ( )
static

Definition at line 121 of file BlinkM_funcs.h.

static void BlinkM_beginWithPowerPins ( byte  pwrpin,
byte  gndpin 
)
static

Definition at line 112 of file BlinkM_funcs.h.

static int BlinkM_checkAddress ( byte  addr)
static

Definition at line 197 of file BlinkM_funcs.h.

static void BlinkM_fadeToHSB ( byte  addr,
byte  hue,
byte  saturation,
byte  brightness 
)
static

Definition at line 246 of file BlinkM_funcs.h.

static void BlinkM_fadeToRandomHSB ( byte  addr,
byte  hrnd,
byte  srnd,
byte  brnd 
)
static

Definition at line 278 of file BlinkM_funcs.h.

static void BlinkM_fadeToRandomRGB ( byte  addr,
byte  rrnd,
byte  grnd,
byte  brnd 
)
static

Definition at line 268 of file BlinkM_funcs.h.

static void BlinkM_fadeToRGB ( byte  addr,
byte  red,
byte  grn,
byte  blu 
)
static

Definition at line 235 of file BlinkM_funcs.h.

static int8_t BlinkM_findFirstI2CDevice ( )
static

Definition at line 73 of file BlinkM_funcs.h.

static int BlinkM_getAddress ( byte  addr)
static

Definition at line 167 of file BlinkM_funcs.h.

static int BlinkM_getInputs ( byte  addr,
byte  inputs[] 
)
static

Definition at line 426 of file BlinkM_funcs.h.

static int BlinkM_getInputsO ( byte  addr)
static

Definition at line 410 of file BlinkM_funcs.h.

static void BlinkM_getRGBColor ( byte  addr,
byte *  r,
byte *  g,
byte *  b 
)
static

Definition at line 289 of file BlinkM_funcs.h.

static int BlinkM_getVersion ( byte  addr)
static

Definition at line 181 of file BlinkM_funcs.h.

static void BlinkM_playScript ( byte  addr,
byte  script_id,
byte  reps,
byte  pos 
)
static

Definition at line 303 of file BlinkM_funcs.h.

static void BlinkM_readScriptLine ( byte  addr,
byte  script_id,
byte  pos,
blinkm_script_line script_line 
)
static

Definition at line 335 of file BlinkM_funcs.h.

static int BlinkM_receiveBytes ( byte  addr,
byte *  resp,
byte  len 
)
static

Definition at line 138 of file BlinkM_funcs.h.

static void BlinkM_scanI2CBus ( byte  from,
byte  to,
void(*)(byte add, byte result)  callback 
)
static

Definition at line 60 of file BlinkM_funcs.h.

static void BlinkM_sendCmd ( byte  addr,
byte *  cmd,
int  cmdlen 
)
static

Definition at line 127 of file BlinkM_funcs.h.

static void BlinkM_setAddress ( byte  newaddress)
static

Definition at line 151 of file BlinkM_funcs.h.

static void BlinkM_setFadeSpeed ( byte  addr,
byte  fadespeed 
)
static

Definition at line 215 of file BlinkM_funcs.h.

static void BlinkM_setRGB ( byte  addr,
byte  red,
byte  grn,
byte  blu 
)
static

Definition at line 257 of file BlinkM_funcs.h.

static void BlinkM_setScriptLengthReps ( byte  addr,
byte  script_id,
byte  len,
byte  reps 
)
static

Definition at line 322 of file BlinkM_funcs.h.

static void BlinkM_setStartupParams ( byte  addr,
byte  mode,
byte  script_id,
byte  reps,
byte  fadespeed,
byte  timeadj 
)
static

Definition at line 394 of file BlinkM_funcs.h.

static void BlinkM_setTimeAdj ( byte  addr,
byte  timeadj 
)
static

Definition at line 226 of file BlinkM_funcs.h.

static void BlinkM_startPower ( )
static

Definition at line 99 of file BlinkM_funcs.h.

static void BlinkM_startPowerWithPins ( byte  pwrpin,
byte  gndpin 
)
static

Definition at line 85 of file BlinkM_funcs.h.

static void BlinkM_stopPower ( )
static

Definition at line 105 of file BlinkM_funcs.h.

static void BlinkM_stopPowerWithPins ( byte  pwrpin,
byte  gndpin 
)
static

Definition at line 93 of file BlinkM_funcs.h.

static void BlinkM_stopScript ( byte  addr)
static

Definition at line 314 of file BlinkM_funcs.h.

static void BlinkM_writeScript ( byte  addr,
byte  script_id,
byte  len,
byte  reps,
blinkm_script_line lines 
)
static

Definition at line 376 of file BlinkM_funcs.h.

static void BlinkM_writeScriptLine ( byte  addr,
byte  script_id,
byte  pos,
byte  dur,
byte  cmd,
byte  arg1,
byte  arg2,
byte  arg3 
)
static

Definition at line 353 of file BlinkM_funcs.h.



rosserial_arduino
Author(s): Michael Ferguson, Adam Stambler
autogenerated on Mon Jun 10 2019 14:53:34