Shift Register to Controlling IC PLL MC145155

I want to ask, how to send a shift register for MC145155 PLL IC,

i found this on datasheet :

"CLK, DATA
Shift Register Clock, Serial Data Inputs, Each low–to–high transition clocks one bit into the on–chip 16–bit shift register. The Data input provides programming information for the 14–bit ÷ N counter and the two switch signals
SW1 and SW2. The entry format is as follows:
right in assuming I send the number 5000, SW1 = 0, SW2 = 0

ENB
Latch Enable Input (PDIP – Pin 12, SOG – Pin 13)
When high (1), ENB transfers the contents of the shift register into the latches, and to the programmable counter inputs, and the switch outputs SW1 and SW2. When low (0), ENB inhibits the above action and thus allows changes to be made in the shift register data without affecting the counter programming and switch outputs. An on–chip pull–up establishes a continuously high level for ENB when no external signal is applied. ENB is normally low and is pulsed high to transfer data to the latches.

and I've tried coding like this:

int latchPin = 8;
int clockPin = 12;
int dataPin = 11;

void setup() {
//set pins to output because they are addressed in the main loop
pinMode(latchPin, OUTPUT);
pinMode(clockPin, OUTPUT);
pinMode(dataPin, OUTPUT);
}

void loop() {

digitalWrite(latchPin, LOW);

// send SW1 ( 0 )
digitalWrite(clockPin, HIGH);
digitalWrite(clockPin, LOW);
// send SW2 ( 0 )
digitalWrite(clockPin, HIGH);
digitalWrite(clockPin, LOW);

// Do this for MSBFIRST serial
int data = 5000;
// shift out highbyte
shiftOut(dataPin, clockPin, MSBFIRST, (data >> 8));
// shift out lowbyte
shiftOut(dataPin, clockPin, MSBFIRST, data);

digitalWrite(latchPin, HIGH);
delay(1000);
}
}

but it does not work, is there any that can get a correction?

Thanks..

but it does not work, is there any that can get a correction?

My guess is that shifting the data by smiles faces is what doesn't work.

There are two stickies at the top of the forum that you clearly did not read. Come on back when you have.