From 51dfeff10dbf3be808a58e4fb2d9687b080f8f5f Mon Sep 17 00:00:00 2001
From: EmbeddedMan SR
command.
Pins B1, B0, B2 and B3 are not 5-volt tolerant and any voltage above about 3.6V will damage them. + Pins B4, B5, B6 and B7 are 5-volt tolerant and will not be damaged by voltages up to 6.0V. +
+ +Because all Port B pins (B0 through B7) have weak pull up resistors, any of these pins can easily be
+ used to read a switch by simply connecting a switch between the Port B pin and GND. Use the
+ PI
command to read the state of the switch. If that pin is not already
+ an input at boot (see table below) you can make it an input using the PD
+ command.
+
In addition to the pins of PortB, additional broken-out I/O pins accessible on the EBB include: PortA: RA0,1,2,3,5, PortC: RC0,1,2,6,7, PortD: RD: 0,1,4,5,6,7, and PortE: RE0. Every pin on PortB, PortC and RA6 can source or sink up to 25mA each. All other pins can source or sink up to 4mA each. @@ -2707,54 +2718,63 @@ ul.no_bullets {
QB
SC
, SP
Pins B1, B0, B2 and B3 are not 5-volt tolerant and any voltage above about 3.6V will damage them. - Pins B4, B5, B6 and B7 are 5-volt tolerant and will not be damaged by voltages up to 6.0V. + Pins B4, B5, B6 and B7 are 5-volt tolerant and will not be damaged by voltages up to 5.5V.
-Because all Port B pins (B0 through B7) have weak pull up resistors, any of these pins can easily be - used to read a switch by simply connecting a switch between the Port B pin and GND. Use the +
Because all Port B pins (B0 through B7) have weak pull up resistors, any of these pins can be
+ used to read a switch by connecting a switch between the Port B pin and GND. Use the
PI
command to read the state of the switch. If that pin is not already
an input at boot (see table below) you can make it an input using the PD
command.
@@ -2718,7 +2718,7 @@ ul.no_bullets {