//**************************************************************//
// Name : shiftOutCode, Dual Binary Counters //
// Author : Carlyn Maw, Tom Igoe //
// Date : 25 Oct, 2006 //
// Version : 1.0 //
// Notes : Code for using a 74HC595 Shift Register //
// : to count from 0 to 255 //
//**************************************************************//
// X 軸
int dataPin = 2; //data input pin 14
int latchPin = 3; //latch pin 12
int clockPin = 4; //shift clock pin 11
// Y 軸
int dataPin_1 = 5; //data input pin 14
int latchPin_1 = 6; //latch pin 12
int clockPin_1 = 7; //shift clock pin 11