Robojoy challenge class

4-4-1 Find the minimum and maximum

  • Page:
  • 1
  • 2
  • 3
  • 4

Find the maximum and minimum

I tried to make a program that determined maximum and minimum by combining two programs made previously. The number of loops is set to 100 times.

[Download] Program to find the maximum and minimum (Created in NXT software 2.0)

The determination of the minimum and maximum values is the same as the methods mentioned above. It has set 99 in the value of the minimum and the maximum value is set 0.

I tried to run the program. "52" is appeared on the maximum value, and "51" is the minimum value.
It does not seem to happening with the unexpected measured values.
Next time, let's think about how to make this into a robot.

  • Page:
  • 1
  • 2
  • 3
  • 4