just removed getValueFromTwo7bitBytes(byte *argv) as it wasn't used in
the code anymore.

Am Mittwoch, den 27.02.2013, 07:44 -0800 schrieb Jeff Hoefs:
> In examples/ConfigurableFirmata/Encoder7Bit.cpp:
> 
> > +{
> > +  for (int i=0;i<outBytes;i++) {
> > +    int j=i<<3;
> > +    int pos=j/7;
> > +    byte shift=j%7;
> > +    outData[i]=(inData[pos]>>shift)|((inData[pos+1]<<(7-shift))&0xFF);
> > +  }
> > +}
> > +
> > +void Encoder7BitClass::sendValueAsTwo7bitBytes(int value) // is private in Firmata...
> > +{
> > +  Firmata.write(value & B01111111); // LSB
> > +  Firmata.write(value >> 7 & B01111111); // MSB
> > +};
> > +
> > +int Encoder7BitClass::getValueFromTwo7bitBytes(byte *argv) {
> 
> maybe this should be moved to Firmata as well as a public method.
> 
> —
> Reply to this email directly or view it on GitHub.
>