📄 ipod_procotol.txt.bak
字号:
#if 0
/****************************************************************
****************************************************************/
UART_SendChar(0xff);//identify
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x00);
UART_SendChar(0x01);
UART_SendChar(0x02);
UART_SendChar(0xFA);
delay10xtms(2);
delay10xtms(2);
/***************************************************************/
UART_SendChar(0xff);/*play/pause*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x01);
UART_SendChar(0xFA);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);/*volume up*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x02);
UART_SendChar(0xF9);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);/*volume dowen*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x04);
UART_SendChar(0xF7);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);//Next Track
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x08);
UART_SendChar(0xF3);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);//previous Track
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x10);
UART_SendChar(0xeb);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);//next album
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x20);
UART_SendChar(0xdb);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);//previous album
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x40);
UART_SendChar(0xbb);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);//stop
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x80);
UART_SendChar(0x7b);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);/*play/resume*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x04);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0x01);
UART_SendChar(0xF9);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);/*pause*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x04);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0x02);
UART_SendChar(0xF8);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);/*mute toggle*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x04);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0x04);
UART_SendChar(0xf6);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);/*next chapter*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x04);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0x08);
UART_SendChar(0xf2);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);/*previous chapter*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x04);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0x10);
UART_SendChar(0xea);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);/*next playlist*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x04);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0x20);
UART_SendChar(0xda);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);/*previous playlist*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x04);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0x40);
UART_SendChar(0xba);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);/*shuffle setting advance*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x04);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0x80);
UART_SendChar(0x7a);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);/*repeat setting advance*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x05);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0x01);
UART_SendChar(0xf8);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0xFb);
delay10xtms(2);
delay10xtms(2);
/*******************************************************/
UART_SendChar(0xff);/*power on*/
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x05);
UART_SendChar(0x02);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0x00);
UART_SendChar(0x02);
UART_SendChar(0xf7);
delay10xtms(2);//20ms
delay10xtms(2);//20ms
UART_SendChar(0xff);//relese bution
delay10xtms(2);//20ms
UART_SendChar(0x55);
UART_SendChar(0x03);
UART_SendChar(0x02);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -