You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/constants.h
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -97,17 +97,19 @@ a command
97
97
*/
98
98
//Special commands:
99
99
100
-
constPROGMEMbyteCMND1[5] = {FOCUS_N, IRIS_O, IRIS_C, OFF, ON}; //List of all commands that go on the byte3; a list with command 2 is not required, a bit of logic please
101
-
constPROGMEMbyteDATA1[2] = {PAN_L, PAN_R}; //List of all commands that use ONLY the DATA1 for data pass
100
+
constbyteCMND1[5]PROGMEM= {FOCUS_N, IRIS_O, IRIS_C, OFF, ON}; //List of all commands that go on the byte3; a list with command 2 is not required, a bit of logic please
101
+
constbyteDATA1[2]PROGMEM= {PAN_L, PAN_R}; //List of all commands that use ONLY the DATA1 for data pass
102
102
103
-
constPROGMEMbyteSETPOS[3] = {SET_PAN, SET_TILT, SET_ZOOM}; //List of all command that require an MSB and LSB
103
+
constbyteSETPOS[3]PROGMEM= {SET_PAN, SET_TILT, SET_ZOOM}; //List of all command that require an MSB and LSB
104
104
105
-
constPROGMEMbyteDATA_BOTH[5]= {PAN_L_TILT_D, PAN_L_TILT_U, PAN_R_TILT_D, PAN_R_TILT_U, WRITE_CHAR};//List of all commands that use the DATA1 and DATA2 for data pass (excluding the SETPOS' commands)
105
+
constbyteDATA_BOTH[5]PROGMEM= {PAN_L_TILT_D, PAN_L_TILT_U, PAN_R_TILT_D, PAN_R_TILT_U, WRITE_CHAR};//List of all commands that use the DATA1 and DATA2 for data pass (excluding the SETPOS' commands)
106
106
107
-
constPROGMEMbytePRESET_CMND[3] = {SET_PRESET, CLR_PRESET, GOTO_PRESET}; //will I use it?
0 commit comments