pxt-ev3/sim/visuals
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
..
assets Update state of the landscape brick view as well to be consistent with the portrait view (main) (#508) 2018-04-13 14:01:37 -07:00
controls Added support for Reflection Raw mode for the color sensor to the simulator (#1017) 2023-05-05 15:54:56 -07:00
nodes Added support for Reflection Raw mode for the color sensor to the simulator (#1017) 2023-05-05 15:54:56 -07:00
board.ts Added support for Reflection Raw mode for the color sensor to the simulator (#1017) 2023-05-05 15:54:56 -07:00
boardview.ts Optimize simulator for light mode. (#379) 2018-03-28 13:36:52 -07:00
controlView.ts Gyro tutorials (#930) 2019-09-30 22:43:50 -07:00
layoutView.ts Fixes for High contrast mode as per lego design. Most changes are in PXT. Adding high contrast theme in the simulator (#564) 2018-05-04 10:36:48 -07:00
util.ts Better mouse event handling (#552) 2018-05-02 13:54:06 -07:00
view.ts Fixes for High contrast mode as per lego design. Most changes are in PXT. Adding high contrast theme in the simulator (#564) 2018-05-04 10:36:48 -07:00
wireView.ts Fixes for High contrast mode as per lego design. Most changes are in PXT. Adding high contrast theme in the simulator (#564) 2018-05-04 10:36:48 -07:00