... | @@ -47,7 +47,7 @@ The following four graphs show the data collected from using 10ms, 50ms, 100ms a |
... | @@ -47,7 +47,7 @@ The following four graphs show the data collected from using 10ms, 50ms, 100ms a |
|
|------------|-------|-------|-------|------|
|
|
|------------|-------|-------|-------|------|
|
|
| Raw Light vale | 450 | 640 | 530 | 443 |
|
|
| Raw Light vale | 450 | 640 | 530 | 443 |
|
|
|
|
|
|
![Alt Text](/ex5_lp_black.png)
|
|
![Alt Text](http://oi57.tinypic.com/29qntwz.jpg)
|
|
|
|
|
|
From these 4 colors, it becomes apparent that the light percentages calculated using the given formula matches the measured values from exercise 1 very well. However, while the formula is hereby verified, the light percent is not as accurate as possible. The reason for this is that the calculated light percent from the sensor is stored as an integer, which does not take decimal numbers into account. This problem can be alleviated either by using 32-bit floating point numbers, or simply by using the raw values directly.
|
|
From these 4 colors, it becomes apparent that the light percentages calculated using the given formula matches the measured values from exercise 1 very well. However, while the formula is hereby verified, the light percent is not as accurate as possible. The reason for this is that the calculated light percent from the sensor is stored as an integer, which does not take decimal numbers into account. This problem can be alleviated either by using 32-bit floating point numbers, or simply by using the raw values directly.
|
|
|
|
|
... | | ... | |