From 63d82e904d8df71dcc8586a1104ef4160d36783e Mon Sep 17 00:00:00 2001 From: LuiCat Date: Tue, 14 May 2019 14:56:12 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef154a7..a2cadcd 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ This sketch uses a dynamic threshold of sensor levels to trigger inputs. Wheneve As the sensors should have biased input voltages, the sensor levels are actually the differential value of the analog value from ```analogRead```. -To deal with four analog inputs, we read the sensor levels one at a time, and only do the triggering mechanisms for this sensor. To compensate the time difference, the sensor level for the current one will be a mix of values from previous read and current read. Also, a non-default non-blocking version of ```analogRead``` is used to guarantee more stablization time after a channel switch of arduino's internal ADC chip. +To deal with four analog inputs, we read the sensor levels one at a time, and only do the triggering mechanisms for this sensor. To compensate the time difference, the sensor level for the current one will be a mix of values from previous read and current read. Also, a customized non-blocking version of ```analogRead``` is used to guarantee more stablization time after a channel switch of arduino's internal ADC chip. To deal with Nintendo Switch, I used the HID descriptor for Hori's Pokken fightstick to let Switch trust Arduino as a valid controller device (see the [credits](#credits) section). The default buttons from the four sensors are the analog stick buttons (press the sticks down) and the trigger buttons (ZL and ZR).