need help urgently

What is wrong with the example code that accompanies the shield?