byte mybyte=0x0;
int dt=500;
void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
  // put your main code here, to run repeatedly:
Serial.print(mybyte,HEX);
Serial.print(" = ");
Serial.print(mybyte,BIN);
Serial.print(" = ");
Serial.println(mybyte,DEC);
mybyte=mybyte+1;
delay(dt);
}