Page 181 of 229 Start Back Next End ZBasic Language Reference 171 ZBasic Microcontrollers D.2 Pin Configuration The ZX-24 series devices have 24 male pins, numbered 1 through 24 in a standard DIP configuration. Additionally, there are 10 other connections that may be made to the ZX-24 series circuit board for expansion and other special purposes. In the diagram below, the male pins are represented by filled circles while the open circles represent solderable connections. The filled square indicates pin 1. The remaining rectangles on the diagram are stylized representations of some of the components on the board and are shown for orientation purposes only. Pins 1 to 24 are referred to as the standard pins while the remaining connections are referred to as the expansion pins. ZX-24 Series Pin Configuration D.2.1 Standard Pins The table below summarizes the functions of the standard ZX-24 series pins. A detailed description of each pin is given following the table. Note that several of the external pins connect to more than one pin of the microcontroller chip. The multiple connections allow such pins to serve more than one function. See the descriptions below and the Atmel documentation for more information. Standard ZX-24 Series Pins Pin ATmega ATxmega 1 Serial Output Serial Output 2 Serial Input Serial Input 3 ATN ATN 4 Ground (common with pin 22) Ground (common with pin 22) 5 Port C, bit 7 and Port B, bit 1 Port C, bit 7 6 Port C, bit 6 and Port D, bit 2 Port C, bit 6 7 Port C, bit 5 Port C, bit 5 and Port B, bit 0 8 Port C, bit 4 Port C, bit 4 and Port B, bit 2 9 Port C, bit 3 Port C, bit 3 and Port B, bit 3 10 Port C, bit 2 Port C, bit 2 11 Port C, bit 1 and Port D, bit 3 Port C, bit 1 12 Port C, bit 0 and Port D, bit 6 Port C, bit 0 13 Port A, bit 7 Port A, bit 7 14 Port A, bit 6 Port A, bit 6 15 Port A, bit 5 Port A, bit 5 16 Port A, bit 4 Port A, bit 4