Skip to content

Commit

Permalink
workaround to fix issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
grunenwald authored Dec 21, 2016
1 parent ecbb523 commit f03d15a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/theremin/theremin.ino
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ void setup() {

// Code exécuté le plus souvent possible
void loop() {
onOff = (minLight + maxLight) / 2;

// Lecture des phototransistors
int lectureNote = analogRead(A7); // lecture de la hauteur de la note
int lectureOnOff = analogRead(A0); // lecture de la commande du volume (ON OFF)
Expand Down

0 comments on commit f03d15a

Please sign in to comment.