Skip to content

Commit

Permalink
Change titt angle of moving head
Browse files Browse the repository at this point in the history
Co-authored-by: dumann089 <[email protected]>
  • Loading branch information
Rushmead and dumann089 committed Feb 10, 2025
1 parent 1da6a3a commit edd8bfe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void consume(byte[] dmxValues) {
pan = newPan;
hasUpdated = true;
}
int newTilt = (int) ((convertByteToInt(ourValues[6]) * 180) / 255F) - 180;
int newTilt = (int) ((convertByteToInt(ourValues[6]) * 270) / 255F) - 225;
if(tilt != newTilt){
tilt = newTilt;
hasUpdated = true;
Expand Down

0 comments on commit edd8bfe

Please sign in to comment.