Lillypad to UNO

Hi all,
Can someone help me out on this code?
It works on a Lillypad, but I need to use it on UNO.
I can communicate with the serial port, but the digital out/input doesn’t work :expressionless:
thanks

CCFlasher.pde (9.11 KB)

What does "doesn't work" mean?

Did you change the board type in the Tools menu?