ECIO 40P E2 (AN7) Pulled High.

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
User avatar
Jay Dee
Posts: 398
Joined: Tue Aug 18, 2009 6:42 pm
Has thanked: 121 times
Been thanked: 154 times
Contact:

ECIO 40P E2 (AN7) Pulled High.

Post by Jay Dee »

Hi,
I have 3 switches on Port E of the ECIO 40P but noticed that Pin E2 (AN7) is pulled high on the ECIO board, Can pin E2 be used for other functions or is it reserved for an ECIO specific function?
Cheers, J.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ECIO 40P E2 (AN7) Pulled High.

Post by Benj »

Hello,

Pin E2 is used for the LED on the ECIO and the autodetect for the USB.

If you read the pin and the USB is connected then you will get a 1, otherwise you will get a 0.

If you output a 1 to the pin the LED will light, outputting a 0 will clear the LED.

The pin can also be used for external signals but you should be aware that due to this other functionality it is not as clean as the other I/O pins on the device.

Post Reply