Upgraded RF24 to latest version which supports SoftSPI. Added DigitalIO and UTFT libraries to support the new example. Fix problem reported in RelayWithButtonActuator example.
8 lines
166 B
C
8 lines
166 B
C
void UTFT::_convert_float(char *buf, double num, int width, byte prec)
|
|
{
|
|
char format[10];
|
|
|
|
sprintf(format, "%%%i.%if", width, prec);
|
|
sprintf(buf, format, num);
|
|
}
|