Skip to content

Commit

Permalink
Trill: fixed prescaler spelling in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliomoro committed Mar 18, 2021
1 parent 97a7a42 commit a6efc26
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions examples/Trill/craft-visual/render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ Once the project is running click the GUI button to see the reading on each chan
From this GUI you can also adjust the setting of the Craft sensor to best suit your needs.
There are two important sensor settings that you may want to adjust when working
with the Trill Craft: the `threshold` and the `prescalar`.
with the Trill Craft: the `threshold` and the `prescaler`.
The `threshold` setting is simply the threshold above which to read and is for
ignoring any noise that might be present in the lowest regions of the sensor reading.
This only applies to `DIFF` mode and is a float between 0.0 and 1.0. Typically values
would stay below 0.1.
The `prescalar` setting equates to the sensitivity of the sensor. Technically, this
The `prescaler` setting equates to the sensitivity of the sensor. Technically, this
value is a divider for the clock on the cypress chip and so it decides how long the
chip charges the connected material for before taking a reading. There are 8 different
settings for the prescalar.
settings for the prescaler.
The rule of thumb when adjusting these values is:
- A higher value prescaler (i.e. longer charging time as it is a divider of the clock)
Expand Down
2 changes: 1 addition & 1 deletion examples/Trill/custom-slider/render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ per sensor.
Each touch has a location and a touch size which equates to how hard the finger
is pushing on the sensor. This example is particularly useful for working with
Trill Flex and Trill Craft. When working with these sensors it always important
to check that the Prescalar and Noisethreshold settings are optimum for your
to check that the Prescaler and Noisethreshold settings are optimum for your
application. Experiment with different values if you are not getting a reading
or seeing lots of cross talk between the sensors.
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Trill/flex-visual/render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Once the project is running click the GUI button to see the reading on each chan
From this GUI you can also adjust the setting of the sensor to best suit your needs.
There are two important sensor settings that you may want to adjust when working
with Trill Flex: the `threshold` and the `prescalar`.
with Trill Flex: the `threshold` and the `prescaler`.
The `threshold` setting is simply the threshold above which to read and is for
ignoring any noise that might be present in the lowest regions of the sensor reading.
Expand All @@ -33,7 +33,7 @@ we recommend a value of 0.03 or above.
The `prescaler` setting equates to the sensitivity of the sensor. Technically, this
value is a divider for the clock on the cypress chip and so it decides how long the
chip charges the connected material for before taking a reading. There are 8 different
settings for the prescalar. For Trill Flex we recommend a value of 4.
settings for the prescaler. For Trill Flex we recommend a value of 4.
The rule of thumb when adjusting these values is:
- A higher value prescaler (i.e. longer charging time as it is a divider of the clock)
Expand Down
6 changes: 3 additions & 3 deletions examples/Trill/general-settings/render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ The Trill sensor is scanned on an auxiliary task running parallel to the audio t
Launch the GUI to visualise the value of each capacitive channel on the sensor.
There are two important sensor settings that you may want to adjust when working
with the Trill sensors: the `threshold` and the `prescalar`.
with the Trill sensors: the `threshold` and the `prescaler`.
The `threshold` setting is simply the threshold above which to read and is for
ignoring any noise that might be present in the lowest regions of the sensor reading.
This only applies to `DIFF` mode and is a float between 0.0 and 1.0. Typically values
would stay below 0.1.
The `prescalar` setting equates to the sensitivity of the sensor. Technically, this
The `prescaler` setting equates to the sensitivity of the sensor. Technically, this
value is a divider for the clock on the cypress chip and so it decides how long the
chip charges the connected material for before taking a reading. There are 8 different
settings for the prescalar.
settings for the prescaler.
The rule of thumb when adjusting these values is:
- A higher value prescaler (i.e. longer charging time as it is a divider of the clock)
Expand Down

0 comments on commit a6efc26

Please sign in to comment.