Skip to content

Commit 399e466

Browse files
authored
fix build (#5)
1 parent 5a30143 commit 399e466

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

examples/functionGeneratorPlotter/functionGeneratorPlotter.ino

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// DATE: 2020-06-10
66
// URL: https://github.com/RobTillaart/FunctionGenerator
77
//
8-
// use a Serial plotter to show the data
8+
// use a Serial plotter to show the data
99

1010

1111
#include "functionGenerator.h"
@@ -16,8 +16,8 @@ funcgen gen;
1616
void setup()
1717
{
1818
Serial.begin(115200);
19-
// Serial.print("Start functionGeneratorPerformance - LIB VERSION: ");
20-
// Serial.println(FUNCTIONGENERATOR_LIB_VERSION);
19+
// Serial.print("Start functionGeneratorPerformance - LIB VERSION: ");
20+
// Serial.println(FUNCTIONGENERATOR_LIB_VERSION);
2121

2222
gen.setAmplitude(50);
2323
gen.setFrequency(1);
@@ -28,24 +28,24 @@ void loop()
2828
{
2929
float t = millis() * 0.001;
3030

31-
// UNCOMMENT WAVES YOU WANT TO SEE
32-
// DO NOT FORGET THE '\t' SEPARATOR PRINT
31+
// UNCOMMENT WAVES YOU WANT TO SEE
32+
// DO NOT FORGET THE '\t' SEPARATOR PRINT
3333

3434
// Serial.print(t, 3);
3535
// Serial.print("\t");
3636
// Serial.print(gen.square(t));
3737
// Serial.print("\t");
38-
// Serial.print(gen.sawtooth(t, 0)); // up /|
38+
// Serial.print(gen.sawtooth(t, 0)); // up /| signal
3939
// Serial.print("\t");
40-
// Serial.print(gen.sawtooth(t, 1)); // down |\
40+
// Serial.print(gen.sawtooth(t, 1)); // down |\ signal
4141
// Serial.print("\t");
4242
// Serial.print(gen.triangle(t));
4343
// Serial.print("\t");
4444
// Serial.print(gen.sinus(t));
4545
// Serial.print("\t");
46-
Serial.print(gen.stair(t, 16, 0)); // step up
46+
Serial.print(gen.stair(t, 16, 0)); // step up
4747
Serial.print("\t");
48-
Serial.print(gen.stair(t, 16, 1)); // step down
48+
Serial.print(gen.stair(t, 16, 1)); // step down
4949
Serial.print("\t");
5050
// Serial.print(gen.random());
5151
// Serial.print("\t");

0 commit comments

Comments
 (0)