I tried the following codes, but failed to bring out 0x61626364:
unsigned long int x = 'abcd';
Serial.println(x, DEC);
Serial.println(x, HEX); //shows: 0x6364
I tried the following codes, but failed to bring out 0x61626364:
unsigned long int x = 'abcd';
Serial.println(x, DEC);
Serial.println(x, HEX); //shows: 0x6364