New answers tagged

8

Here is the schematic of an input port on the EV3 (available on official LEGO MINDSTORMS download page): And this is the implementation of the resistance() method from Pybricks MicroPython: STATIC mp_obj_t iodevices_AnalogSensor_resistance(mp_obj_t self_in) { iodevices_AnalogSensor_obj_t *self = MP_OBJ_TO_PTR(self_in); int32_t voltage; uint8_t ...


Top 50 recent answers are included