Sorry I'm using Google Translator
The Lejos NXJ API exists of a class " SensorPort " which allows me to access a port sensor and allows me to read and write ( Input and Output ) pins directly , specifically on pins 1 , 2 , 5 and 6 can be used with I / O or analog input . I could not find anything like the source code of Lejos EV3 , there is a " SensorPort " interface but by being an interface does not implement anything other than where SensorPort NXJ is a class . Also the EV3 documentation is not available for some time .
It is possible in EV3 I directly access the pins of a sensor to develop a class that controls a sensor not provided by the API Lejos , How do I access this in EV3 ?
I would take a few sensors I used on old arduino projects , but some of them do not communicate nor UART , I2C or by . According to documentation lego 6 wires from the sensors are:
Pin 1: 5V ADC , PU
Pin 2: I / O, PU , PD
Pin 3 : Ground
Pin 4 : +20 V 5 mA
Pin 5 : I / O, PU, SCK (i2C) , TX (uart)
Pin 6 : I / O, ADC 5V , PD , SDA(i2c) , RX(uart)
I would go directly to pins 1 , 2 , 5 and 6 as I / O / Analog and thus create an implementation for my sensors .
Anyone know a way ?