Skip to content

Commit

Permalink
boost back up touch_threshold_adj to 1.2, enable post-startup_demo re…
Browse files Browse the repository at this point in the history
…calibrate
  • Loading branch information
todbot committed Oct 23, 2024
1 parent c9be2a0 commit 6709309
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/TouchwheelSAO_attiny816/TouchwheelSAO_attiny816.ino
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#define MY_I2C_ADDR 0x54
#define LED_BRIGHTNESS 80 // range 0-255
#define LED_UPDATE_MILLIS (2)
#define TOUCH_THRESHOLD_ADJ (1.1)
#define TOUCH_THRESHOLD_ADJ (1.2)
#define FPOS_FILT (0.05)

// note these pin numbers are the megatinycore numbers:
Expand Down Expand Up @@ -199,7 +199,7 @@ void loop() {
if(do_startup_demo) {
startup_demo();
// recalibrate in case pads were being touched on power up (or power not stable)
//touch_recalibrate();
touch_recalibrate();
do_startup_demo = false;
}

Expand Down

0 comments on commit 6709309

Please sign in to comment.