@@ -32,27 +32,30 @@ void TP2825_orbit(int orbit_setting) {
3232 break ;
3333 case 1 :
3434 if (orbit_level > 1 ) {
35- I2C_Write (ADDR_TP2825 , 0x0A , orbit_x - 1 );
35+ I2C_Write (ADDR_TP2825 , 0x0A , orbit_x + 1 );
3636 I2C_Write (ADDR_TP2825 , 0x08 , orbit_y + 1 );
3737 } else {
38+ I2C_Write (ADDR_TP2825 , 0x0A , orbit_x );
3839 I2C_Write (ADDR_TP2825 , 0x08 , orbit_y + 1 );
3940 }
4041 orbit_move = 2 ;
4142 break ;
4243 case 2 :
4344 if (orbit_level > 1 ) {
44- I2C_Write (ADDR_TP2825 , 0x0A , orbit_x - 2 );
45+ I2C_Write (ADDR_TP2825 , 0x0A , orbit_x + 2 );
4546 I2C_Write (ADDR_TP2825 , 0x08 , orbit_y );
4647 } else {
47- I2C_Write (ADDR_TP2825 , 0x0A , orbit_x - 1 );
48+ I2C_Write (ADDR_TP2825 , 0x0A , orbit_x + 1 );
49+ I2C_Write (ADDR_TP2825 , 0x08 , orbit_y + 1 );
4850 }
4951 orbit_move = 3 ;
5052 break ;
5153 case 3 :
5254 if (orbit_level > 1 ) {
53- I2C_Write (ADDR_TP2825 , 0x0A , orbit_x - 1 );
55+ I2C_Write (ADDR_TP2825 , 0x0A , orbit_x + 1 );
5456 I2C_Write (ADDR_TP2825 , 0x08 , orbit_y - 1 );
5557 } else {
58+ I2C_Write (ADDR_TP2825 , 0x0A , orbit_x + 1 );
5659 I2C_Write (ADDR_TP2825 , 0x08 , orbit_y );
5760 }
5861 orbit_move = 0 ;
@@ -101,10 +104,10 @@ void TP2825_init(bool is_av_in, bool is_pal) {
101104
102105 I2C_Write (ADDR_TP2825 , 0x10 , 0x10 ); // brightness
103106 I2C_Write (ADDR_TP2825 , 0x11 , 0x48 ); // contrast
104- I2C_Write (ADDR_TP2825 , 0x12 , 0x58 ); // sharpness
105- I2C_Write (ADDR_TP2825 , 0x13 , 0x48 ); // hue
106- I2C_Write (ADDR_TP2825 , 0x14 , 0x70 ); // saturation
107- I2C_Write (ADDR_TP2825 , 0x17 , 0x30 ); // analog sharpness
107+ I2C_Write (ADDR_TP2825 , 0x2C , 0x28 ); // horizontal sharpness
108+ I2C_Write (ADDR_TP2825 , 0x13 , 0x80 ); // hue
109+ I2C_Write (ADDR_TP2825 , 0x14 , 0x80 ); // saturation
110+ I2C_Write (ADDR_TP2825 , 0x17 , 0x31 ); // vertical sharpness
108111
109112 I2C_Write (ADDR_TP2825 , 0x25 , 0x28 );
110113
0 commit comments