When compiling the code it gives out "D13 was not declared on the scope", i changed it to 13 and then another error comes up with "'pulse' was not declared in this scope", so i added "bool pulse = false;" (no clue if i should have added that.
Compiled it after that and when testing it produces...