English
Language : 

PAK-II Datasheet, PDF (21/28 Pages) List of Unclassifed Manufacturers – 310 Ivy Glen Court
Connections to Host
5V
Data
Clock
4
SIN
3
BUSY/MODE
5
SOUT
ENABLE/BUSY 2
6
10
5V
CLK
RES2
1
RESET
9
RES1
7, 8, 19
Vss
20
Vdd
PAK-II
Both Resistors:
10 to 22K
Busy output (optional)
Resonator
Example 1. Connections to Stamp or similar host
If you are using the Basic Stamp II or Basic Stamp
IISX, you'll have no problems using the ShiftIn
and ShiftOut commands. Many Basic Stamp-
compatible compilers have these commands too. If
you don't have access to these commands, don't
worry. Here is some simple code (written in simple
PBasic) that shows the actions you have to take:
' B1 is the byte to shift
shiftoutput:
output datapin
for b7=0 to 7
' Set data pin to 0 or 1
low datapin
if (b1 & $80) <> $80 then so0
high datapin
so0:
b1=b1*2
' shift byte left