Цитата(VHEMaster @ Feb 28 2016, 00:31)

Вопрос следующий: как поменять те два байта местами чтобы на дисплее оказалась нормальная картинка?..
Взять и проинициализировать камеру.
CODE
sccb_wr_reg(REG_COM7, 0x80); /* reset to default values */
sccb_wr_reg(REG_COM11, 0x0A);
sccb_wr_reg(REG_COM7, 0x04); /* output format: rgb */
sccb_wr_reg(REG_RGB444, 0x00); /* disable RGB444 */
sccb_wr_reg(REG_COM15, 0xC0); /* set RGB565 */
// COLOR SETTING
sccb_wr_reg(0x4f, 0x80);
sccb_wr_reg(0x50, 0x80);
sccb_wr_reg(0x51, 0x00);
sccb_wr_reg(0x52, 0x22);
sccb_wr_reg(0x53, 0x5e);
sccb_wr_reg(0x54, 0x80);
sccb_wr_reg(0x56, 0x40);
sccb_wr_reg(0x58, 0x9e);
sccb_wr_reg(0x59, 0x88);
sccb_wr_reg(0x5a, 0x88);
sccb_wr_reg(0x5b, 0x44);
sccb_wr_reg(0x5c, 0x67);
sccb_wr_reg(0x5d, 0x49);
sccb_wr_reg(0x5e, 0x0e);
sccb_wr_reg(0x69, 0x00);
sccb_wr_reg(0x6a, 0x40);
sccb_wr_reg(0x6b, 0x0a);
sccb_wr_reg(0x6c, 0x0a);
sccb_wr_reg(0x6d, 0x55);
sccb_wr_reg(0x6e, 0x11);
sccb_wr_reg(0x6f, 0x9f);
sccb_wr_reg(0xb0, 0x84);
sccb_wr_reg(0x11, 0x80);