ColorPAL documentation

© Parallax, Inc. • ColorPAL (2009.06.15) Page 12 of 12
Deeply- or incorrectly-nested subroutine calls and loops may cause the stack to encroach upon the end of
the buffer space in RAM. Each call adds one byte to the stack; each loop, two bytes. There is no error
checking for excess nesting or unterminated loops. It is the programmer’s responsibility to ensure that
programs are correctly structured.
Color Matching Program
The Parallax website includes a PC color-matching program that you can use to demo your ColorPAL. The
zip file includes the exe file for the PC, a BASIC Stamp program for the ColorPAL, and a couple BASIC
Stamp programs for the TCS230-DB, along with some documentation.
Schematic
/RST
PB.3
PB.4
Gnd PB.0
PB.1
PB.2
Vdd
1
2
3
4 5
6
7
8
U2
ATTiny13A
N/C
Gnd Vdd
OUT
1
2 3
4
U1
TSL13T
RP1
4 x 68R
LED1
B
OVSARGB3R8
G
R
J1
C1
10µF
+5V
+5V
+5V
R1
10K
330R
R2
C2
0.1µF