hi, can anyone help get me started with the A276? I'm using it to drive a 10 bar LED array.
I have the A6276 set up like this:
PIN:
1 (GND): Ground
2 (SDI): Serial Data input, PIC16F876 PORTC.0
3 (CLK): Serial clock input, PORTC.1
4 (LE) - Latch Enable, PORTC.2
5- 20 : connected to GND pins of LED bar
21 (OE) - Output Enable, PORTC.3
22 NA
23 (Rext) - 220 ohm to GND
+5 (Vdd): Logic Supply. 5v
Here's my current code:
controlBar:
'select the driver for Bar LED
HIGH outenable_6276
'set data
bits_6276 = 1023
LOW clock_6276
LOW latch_6276
'shift data out
SHIFTOUT data_6276, clock_6276, MSBFIRST, [bits_6276\10]
HIGH latch_6276
PAUSE 100
LOW outenable_6276
return
many thanks,
Tobie
Bookmarks