Archive for July, 2015

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();
  }
}