Daniel Fernández Pérez

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Touch Sensor example does not compile #4444

    Thanks for your answer Anders

    You are doing a great job with this project, of course we hope to see it grow and evolve but we can wait 😉

    Thanks!

    in reply to: Touch Sensor example does not compile #4421

    I answer myself, in the documentation Library () I have just discover that the Touch Sensor Class is no longer used with “var touchSensor = new EV3TouchSensor(SensorPort.In1);” but using the following statement: “var touchSensor = new TouchSensor(SensorPort.In1);”. This new declaration is valid for NXT and EV3 touch sensors, no difference has to be made.

    So the Example used before is no longer valid and declaration of touch sensor has to be changed in order to compile with the last MonoBrick DLL.

    Hope it helps

    in reply to: Touch Sensor example does not compile #4420

    Yes, I added the monobrick DLL, in fact, I have redownloaded and reincluded it into the project (just in case), the problematic line is exactly the line where the declaration of the sensor is made:
    “var touchSensor = new EV3TouchSensor(SensorPort.In1);” y

    I have also tried with a NXT Sound Sensor and with the NXT declaration: “svar touchSensor = new NXTTouchSensor(SensorPort.In1);” with the same result, the error (translated from spanish): “type or name space cannot be found, maybe you have missed some “using” declaration o assembler reference” (this is a free translation of the error)

    But this program is the original SoundSensor Example, unmodified. Do I have an old dll? I have downloaded from the official link.

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
Posted in

Make a donation