Subversion Repositories freemyipod

Rev

Rev 181 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 181 Rev 190
Line 24... Line 24...
24
#include "global.h"
24
#include "global.h"
25
#include "i2c.h"
25
#include "i2c.h"
26
#include "backlight.h"
26
#include "backlight.h"
27
 
27
 
28
 
28
 
-
 
29
void backlight_init()
-
 
30
{
-
 
31
    i2c_sendbyte(0, 0xe6, 0x2a, 6);
-
 
32
}
-
 
33
 
29
void backlight_on(bool on)
34
void backlight_on(bool on)
30
{
35
{
31
    i2c_sendbyte(0, 0xe6, 0x29, on ? 1 : 0);
36
    i2c_sendbyte(0, 0xe6, 0x29, on ? 1 : 0);
32
}
37
}
33
 
38