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

}

void loop() {
for(int i=0; i<=100; i++)
{
if(i%2==0){
  analogWrite(23,1023);
  Serial.print("Even Value: ");
  Serial.println(i);
}
else{
  analogWrite(23,50);
  Serial.print("Odd Value: ");
  Serial.println(i);
}
delay(1000);
}
}