Start Back Next End
  
ZBasic Language Reference
181
ZBasic Microcontrollers
Detailed Pin Descriptions
Pin 25, Port D Bit 7 (ATmega) or Port E Bit 0 (ATxmega)
This pin drives the red LED and may also be used for PWM generation based on Timer 2.  See the Atmel
documentation for more details on the latter function.
Pin 26, Port D Bit 5 (ATmega) or Port D Bit 0 (ATxmega)
This pin drives the green LED and may also be used for PWM generation based on Timer 1.  See the
Atmel documentation for more details on the latter function.
Pin 27, Port D Bit 4 (ATmega) or Port D Bit 1 (ATxmega)
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 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 series device.
CS
For ZX devices with an on-board EEPROM, this pin is connected to the chip select pin for that device and
to the SS (slave select) pin of the ATmega.  For ZX devices without an on-board EEPROM, this pin is
connected only to the SS (slave select) pin of the ATmega or ATxmega.
Vcc, Reset, Gnd, CS
These pins are used in the manufacturing and testing processes.
Previous page Top Next page