Need help with coding!

Hi guys so i have this school project whereby im planning to use aurdino with annikken andee to control lights and fans from a smartphone. Can someone please help me write a code to control led and motor from my smartphone.

"Help" means you go first.....

Post what code and circuitry you have so far, and explain what's wrong or right with the behaviour. If you aren't at the coding / circuit stage yet, at least put down your thoughts so far.

You also might find it helps to explain what a "annikken andee" is.