unable to find numeric literal operator 'operator""c'

Hi All.

I'm doing a test piece for my oscilloscope decoding.

I have written the code for the Arduino to output from pin 1 and I get the error "unable to find numeric literal operator 'operator""c'

Am i doing something wrong?

Cheers,
Mike.

void setup() {
  // put your setup code here, to run once:
pinMode (1, OUTPUT);
Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
Serial.write (48); //H
Serial.write (65); //e
Serial.write (6c); //l
Serial.write (6c); //l
Serial.write (6f); //o
Serial.write (0a); //stop

delay(5000);
}

Looks like you forgot the 0x.

Brilliant, Thank you.

Kind Regards,
Mike.

pinMode (1, OUTPUT);

The Serial instance of the HardwareSerial class KNOWS that it needs to do that.