Arduino Highlighter Test

This post is to test the syntax highlighter for arduino.

/* This is a multi-line
comment */
#define OUTPIN 11
int thisisavariable = B10011;
boolean isAdvanced = true;
void setup() {
  Serial.begin(9600); // This is an in-line comment
  pinMode(11,OUTPIN);
}
 
void loop() {
  Serial.println("This is a string!");
  if(thisisavariable < 10e4){
    digitalWrite(11,HIGH);
  }
  if(isAdvanced){
    ADCSRA |= (1 << ADSC);
    sei();
  }
}

Be the first to leave a comment. Don’t be shy.

Join the Discussion

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>