Skip to content

Commit

Permalink
Wip.
Browse files Browse the repository at this point in the history
Signed-off-by: Ramya Subramanyam <[email protected]>
  • Loading branch information
ramya-subramanyam committed Sep 19, 2024
1 parent 964decd commit d371d48
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions examples/testSketch.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

double number;
double result;

// the setup function runs once when you press reset or power the board
void setup() {

// Define a number to calculate the square root of
number = 25.0;
}

// the loop function runs over and over again forever
void loop() {
// Loop to count from 0 to 100
for (int i = 0; i <= 100; i++) {
result = sqrt(number);
}
}

0 comments on commit d371d48

Please sign in to comment.