Makeblock Neuron if conditional only takes hexagon?


#1

image

That is a simple program that blinks a red light unless I touch the blue funny switch then and the GND wire then I get a solid blue light.

But actually I did not want to use Funny Touch but instead the Color Sensor but it won’t fit in the conditional

image

I would change that “green” to “blue” so if I put up a blue color to the sensor, I get a blue light, otherwise blink red repeatedly.

What I could do is stick that into the conditional like this:

But now I don’t even know what means since for some reason there is no arrow icon to see the Python code for these blocks.

Can someone explain to me and possibly link to some detailed documentation on block coding for Neuron?


#2

The color sensor value would be a number, e.g., 1-100, not a true / false statement and therefore cannot be a conditional.
@nyck3333


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.