diff options
author | David Barksdale <amatus@amatus.name> | 2015-10-12 19:24:35 -0500 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2015-10-12 19:24:35 -0500 |
commit | d15bbe64d55cc05781e1b6bb1b5573f3fc673d45 (patch) | |
tree | 34cad077c83ad26a4151b85afb700480e97583d0 /laser-tag software | |
parent | 3efdf1c9c677bc332de20a6c38fafc4cca9dc42e (diff) |
Added a voltage divider for VREFH input
This way we can get higher resolution in the range of voltages
we get from the photodiodes.
Diffstat (limited to 'laser-tag software')
-rwxr-xr-x | laser-tag software/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/laser-tag software/main.c b/laser-tag software/main.c index d40e46e..9f6b52c 100755 --- a/laser-tag software/main.c +++ b/laser-tag software/main.c @@ -139,7 +139,7 @@ static const cmp_comparator_config_t g_cmpConf = { static cmp_dac_config_t g_cmpDacConf = { .dacEnable = true, - .refVoltSrcMode = kCmpDacRefVoltSrcOf2, + .refVoltSrcMode = kCmpDacRefVoltSrcOf1, .dacValue = 32, }; |