Big Dome Box: Difference between revisions

From air
Jump to navigation Jump to search
Line 18: Line 18:
Sketch for Arduino Leornado
Sketch for Arduino Leornado
<pre>
<pre>

const int domeButton = 3;

void setup() { // initialize th button' inputs:
pinMode(domeButton, INPUT);
Keyboard.begin();
}

void loop() {
if (digitalRead(domeButton) == HIGH) {
Keyboard.write(' ');
}
}


</pre>
</pre>

Revision as of 13:39, 5 December 2013

Big Dome Box

Matériel

Design

Logiciel

Emergency Logout

http://www.arduino.cc/en/Tutorial/KeyboardLogout

Spacebar for Presentation

Sketch for Arduino Leornado


const int domeButton = 3;

void setup() { // initialize th button' inputs:
  pinMode(domeButton, INPUT);
  Keyboard.begin();
}

void loop() {
  if (digitalRead(domeButton) == HIGH) {
    Keyboard.write(' '); 
  }
}