add defines, create simple sendButton function
This commit is contained in:
@@ -1,5 +1,18 @@
|
||||
// Pin definitions
|
||||
#define IR_SEND_PIN 4
|
||||
#define LED_PIN 13
|
||||
|
||||
// IR commands (Sony 12bit)
|
||||
#define POWER 0x15
|
||||
#define PLAY 0x2A
|
||||
#define PAUSE 0x29
|
||||
#define STOP 0x28
|
||||
#define PREV 0x20 //geraten
|
||||
#define NEXT 0x21
|
||||
|
||||
//old commands
|
||||
#define EJECT 0x69E
|
||||
#define POWER 0xA9E
|
||||
//#define POWER 0xA9E
|
||||
#define DISPLAY 0x19E
|
||||
#define SCROLL 0x99E
|
||||
#define CONTINUE 0xB9E
|
||||
@@ -41,11 +54,11 @@
|
||||
#define CHAR 0x6DE
|
||||
#define NUM 0xEDE
|
||||
#define CLEAR 0xF1E
|
||||
#define PLAY 0x55E
|
||||
#define PAUSE 0x95E
|
||||
#define STOP 0x15E
|
||||
#define AMSPREV 0x05E
|
||||
#define AMSNEXT 0x85E
|
||||
// #define PLAY 0x55E
|
||||
// #define PAUSE 0x95E
|
||||
// #define STOP 0x15E
|
||||
// #define AMSPREV 0x05E
|
||||
// #define AMSNEXT 0x85E
|
||||
#define RECORD 0xB5E
|
||||
#define REWIND 0xD5E
|
||||
#define FASTFORWARD 0x35E
|
||||
|
||||
Reference in New Issue
Block a user