FireBirdLib - Topfield TMS PVR TAP Programming Library
INISetRGB.c
Go to the documentation of this file.
1#include "FBLib_ini.h"
2#include "libFireBird.h"
3
4void INISetRGB(char *Key, byte Red, byte Green, byte Blue)
5{
7
8 char rgb[10];
9
10 sprintf(rgb, "%2.2d,%2.2d,%2.2d", Red & 0x1f, Green & 0x1f, Blue & 0x1f);
11 INISetString(Key, rgb);
12
13 TRACEEXIT();
14}
void INISetRGB(char *Key, byte Red, byte Green, byte Blue)
Definition: INISetRGB.c:4
void INISetString(char *Key, char *Value)
Definition: INISetString.c:6
#define TRACEEXIT()
Definition: libFireBird.h:1244
#define TRACEENTER()
Definition: libFireBird.h:1243