[Solved]Loop Refference page

Sorry, spotted the error:

beginSerial(9600);

should be:

Serial.begin(9600);

And

serialWrite()

should be

Serial.write()