Skip to content

Commit

Permalink
hyp firmware update to get shaking ('d' LSB)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbr1 committed Jul 12, 2024
1 parent 771bfb8 commit f1e9820
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/firmware/firmware.ino
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ void loop(){
alvik.updateTouch();
msg_size = packeter.packetC1B('t', alvik.getTouchKeys());
alvik.serial->write(packeter.msg,msg_size);
msg_size = packeter.packetC1B('d', alvik.isShaking());
alvik.serial->write(packeter.msg,msg_size);
break;
case 2:
alvik.updateAPDS();
Expand Down

0 comments on commit f1e9820

Please sign in to comment.