<p>Without solving your homework, you will need at least the following blocks:</p>

<p>for bullet 1</p>

<ul>
<li>Light Sensor</li>
<li>Data to Text</li>
<li>LCD Panel Display</li>
</ul>

<p>for bullets 2 and 3</p>

<ul>
<li>Loop (forever)</li>
<li>Switch (based on light sensor readings)</li>
<li>Motor Block (4 of these, 2 for > 50% + 2 for &lt;= 50%)</li>
</ul>

<p>And it probably makes sense to put bullet 1 inside the loop of bullets 2 and 3.</p>

CC BY-SA 3.0
2017-04-25T17:26:19.917Z
2017-04-25T17:26:19.917Z
dfrevert
<ul>
<li>Read value from NXT kit using light sensor and show it in the middle of NXT screen.</li>
<li>If measured lightness value is less than or equal to 50, right motor will stop and left motor will move with the power of 35.</li>
<li>If measured lightness value is greater than 50, left motor will stop and right motor will move with the power of 35. </li>
</ul>

<p>How can I do this?</p>

<nxt><programming><robotic><labview>
NXT light sensor homework help
Hernan Crespo
# NXT light sensor homework help

(Asked by: username_0 on 2017-04-24)

* Read value from NXT kit using light sensor and show it in the middle of NXT screen.
* If measured lightness value is less than or equal to 50, right motor will stop and left motor will move with the power of 35.
* If measured lightness value is greater than 50, left motor will stop and right motor will move with the power of 35.

How can I do this?

**Tags:** nxt, programming, robotic, labview


---

## 1 answers

### Answer by username_1 on 2017-04-25. Score: 1

Without solving your homework, you will need at least the following blocks:

for bullet 1

* Light Sensor
* Data to Text
* LCD Panel Display

for bullets 2 and 3

* Loop (forever)
* Switch (based on light sensor readings)
* Motor Block (4 of these, 2 for > 50% + 2 for <= 50%)

And it probably makes sense to put bullet 1 inside the loop of bullets 2 and 3.


---

