Skip to content

Commit

Permalink
codeMPUdomine
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanBri committed Feb 16, 2024
1 parent a7fcc7a commit e9a2646
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions MPU/sketch_nov27a/sketch_nov27a.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include <TimerOne.h>
int compteur=0;
int temps=0;


void setup() {
Timer1.initialize(100000);
Timer1.attachInterrupt(function);
// put your setup code here, to run once:

}

void loop() {
// put your main code here, to run repeatedly:

}
void function(){
compteur=compteur+1;
Serial.println(compteur)}

0 comments on commit e9a2646

Please sign in to comment.