Where do I find

Discussion about the ZBasic language including the System Library. If you're not sure where to post your message, do it here. However, do not make test posts here; that's the purpose of the Sandbox.
Post Reply
FFMan
Posts: 502
Joined: 09 January 2010, 12:52 PM

Where do I find

Post by FFMan »

a nice diagram of a ZX40n showing each pin annotated with its function ? I can't find one in the zx40n hardware reference, only parts showing supporting circuitry.

I like to use such a thing to scribble on during development

thanks
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: Where do I find

Post by dkinzer »

FFMan wrote:a nice diagram of a ZX40n showing each pin annotated with its function ?
There is no one diagram that indicates which pins are used for every function. You can start with the package diagram that is in the Atmel datasheet (excerpted below) and add notes as you go.

Things to keep in mind:
  • The RxD0/TxD0 pins are used for Com1
  • The RxD1/TxD1 pins are used for Com2
  • Pins B.4-B.7 are used for SPI
  • Pins C.0 and C.1 are used for I2C
  • Pins D.2, D.3 and B.2 are used for INT0, INT1 and INT2, respectively
  • All of the pins marked PCINTnn are possible pin change interrupt pins
  • Pins D.7 and D.6 are 8-bit PWM channels 1 and 2, respectively
  • Pins D.5 and D.4 are 16-bit PWM channels 1 and 2, respectively
  • Pin D.4 is the standard OutputCapture() pin
  • Pin D.6 is the InputCapture() pin
  • The analog inputs are A.0 through A.7
Attachments
ZX-40n.jpg
ZX-40n.jpg (86.04 KiB) Viewed 2587 times
- Don Kinzer
Post Reply