diff --git a/docs/ebb.html b/docs/ebb.html index a344fa8..ddb06d8 100644 --- a/docs/ebb.html +++ b/docs/ebb.html @@ -2677,6 +2677,17 @@ ul.no_bullets { and defaults to an off state at reset; see the 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 { Pin Default Direction Default State + 5V Tolerant? Typical application RB0 Input Weak pull up + No Alternate PRG/Pause button input; see QB RB1 Output RC Servo Pulses + No Pen lift servo output; see SC, SP RB2 Input Weak pull up + No General RB3 Output Low + No Engraver or laser PWM output control RB4 Output Low + Yes Alternate Pen Up/Down I/O (solenoid/laser) RB5 Input Weak pull up + Yes General RB6 Input Weak pull up + Yes General RB7 Input Weak pull up + Yes General