pxt-ev3/sim/visuals/nodes
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
..
brickView.ts update to pxt 5 and pxt-common-packages 6 (#934) 2019-10-08 21:57:55 -07:00
brickViewLandscape.ts Better screen zoom that makes use of the full width of the simulator. (#471) 2018-04-09 16:21:41 -07:00
brickViewPortrait.ts Better screen zoom that makes use of the full width of the simulator. (#471) 2018-04-09 16:21:41 -07:00
colorSensorView.ts Added support for Reflection Raw mode for the color sensor to the simulator (#1017) 2023-05-05 15:54:56 -07:00
gyroSensorView.ts Change to always show the sensor controls. (#526) 2018-04-16 11:50:12 -07:00
infraredview.ts Change to always show the sensor controls. (#526) 2018-04-16 11:50:12 -07:00
largeMotorView.ts Add large and medium motor speed labels (#480) 2018-04-10 11:50:58 -07:00
mediumMotorView.ts Add large and medium motor speed labels (#480) 2018-04-10 11:50:58 -07:00
moduleView.ts Update simulator as per latest lego UI design for sensors. Fix full screen layout issues. (#554) 2018-05-02 13:58:59 -07:00
motorView.ts Always show the motor value regardless if it's 0. (#509) 2018-04-13 14:01:25 -07:00
portView.ts Simulator refactoring to support better resizing of modules and controls 2017-12-22 14:00:23 -08:00
sensorView.ts Update simulator as per latest lego UI design for sensors. Fix full screen layout issues. (#554) 2018-05-02 13:58:59 -07:00
touchSensorView.ts Optimize simulator for light mode. (#379) 2018-03-28 13:36:52 -07:00
ultrasonicView.ts Change to always show the sensor controls. (#526) 2018-04-16 11:50:12 -07:00