Subversion Repositories freemyipod

Rev

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

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