Navigation bar
  Start Previous page
 142 of 172 
Next page End  

ZBasic Language Reference
135
ZX Microcontroller Family
B.2.2 Expansion Pins
The table below summarizes the functions of the ZX-24 series expansion pins.  These “pins” are actually
holes on the circuit board that require a soldered or mechanical clip connection to use.  A detailed
description of each pin is given following the table.
Expansion Pins
Pin
Description
25
Port D Bit 7, Red LED
26
Port D Bit 5, Green LED
27
Port D Bit 4, OutputCapture pin
Vcc
Power, common with pin 21
Reset
Reset, common with pin 22
SCK
SPI Clock
MISO
SPI Master In Slave Out
MOSI
SPI Master Out Slave In
Gnd
Ground, common with pins 4 and 23
CS
On-board EEPROM Chip Select
Detailed Pin Descriptions
Pin 25, Port D Bit 7
This pin drives the red LED and may also be used for PWM generation based on Timer 2.  See the Atmel
ATmega32, ATmega644 or ATmega644p documentation for more details on the latter function.
Pin 26, Port D Bit 5
This pin drives the green LED and may also be used for PWM generation based on Timer 1.  See the
Atmel ATmega32, ATmega644 or ATmega644p documentation for more details on the latter function.
Pin 27, Port D Bit 4
This pin is the output point for the standard OutputCapture() routine.  It may also be used for PWM
generation based on Timer 1.  See the Atmel ATmega32, ATmega644 or ATmega644p documentation
for more details on the latter function.
SCK, MISO, MOSI
These pins are the inputs and outputs for the SPI bus by which external SPI devices may be connected to
the ZX-24/ZX-24a.
Vcc, Reset, Gnd, CS
These pins are used in the manufacturing and testing processes.
Previous page Top Next page