pxt-ev3/sim
Dmitriy Antipov 9be35a1034
Added support for Reflection Raw mode for the color sensor to the simulator (#1017)
* redesigned-code-to-support-ref-raw

Code that adds reflection raw support for the color sensor. The range of values for this is from 0 to 1023, because analog to digital converter is 10 bits. In fact, the color sensor gives values ​​of about 400 - 700, but I decided to leave the range, which could theoretically be. For other cases (reflections and ambient lighting), the range remains from 0 to 100. The average value when setting the mode in the simulator is displayed as 512, for other modes 50%.

* block-description-update

Block description update, as it did not take into account the mode of raw reflection values.
2023-05-05 15:54:56 -07:00
..
public Updating npm dependencies and getting the build to work (#1001) 2021-09-22 15:51:32 -07:00
state Added support for Reflection Raw mode for the color sensor to the simulator (#1017) 2023-05-05 15:54:56 -07:00
visuals Added support for Reflection Raw mode for the color sensor to the simulator (#1017) 2023-05-05 15:54:56 -07:00
dalboard.ts update to pxt 5 and pxt-common-packages 6 (#934) 2019-10-08 21:57:55 -07:00
tsconfig.json Troubleshooting updates v1.4.25 (#1012) 2023-04-25 12:06:54 -07:00