Servo.h library (included with arduino) (SOLVED)

Hi, I am trying to get the code above going on my sparkcore and I'm very new to this so please forgive me if the questions are a little silly. I have a servo which I think is this one: https://www.sparkfun.com/products/9065 it came in a sparkfun arduino inventors kit. It has 3 wires: red, black and white. I have a separate 2amp power supplied to 5volts on red, ground on black and I have white going to pin D0. The sparkcore is powered by USB on my computer.

I flashed the above sketch to my sparkcore and then I powered up the servo. It does make a little sound when powered up initially. It seems to hum even when idle however so I am wondering if it connected correctly.

Anyhow, I opened up the sparkcore android tinker app and tried controlling pin D0 but I couldn't get it to work. Am I missing something?