Skip to content

Commit b9fcbbf

Browse files
committed
Updated documentation.
1 parent b3001dc commit b9fcbbf

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Watchdog
1+
# Watchdog
22

33
Authors:
44

@@ -13,7 +13,7 @@ after a set amount of time passes, unless the timer is reset.
1313

1414
[Usage Examples](./examples)
1515

16-
##Execute Interrupt Service Routine (ISR) Function on Timeout
16+
## Execute Interrupt Service Routine (ISR) Function on Timeout
1717

1818
```cpp
1919
void userFunc()
@@ -26,7 +26,7 @@ void setup()
2626
}
2727
```
2828

29-
##Reset Microcontroller on Timeout
29+
## Reset Microcontroller on Timeout
3030

3131
```cpp
3232
void setup()
@@ -35,7 +35,7 @@ void setup()
3535
}
3636
```
3737

38-
##Specify Timeout
38+
## Specify Timeout
3939

4040
```cpp
4141
void setup()
@@ -44,7 +44,7 @@ void setup()
4444
}
4545
```
4646

47-
##Timeout Values
47+
## Timeout Values
4848

4949
* Watchdog::TIMEOUT_16MS
5050
* Watchdog::TIMEOUT_32MS
@@ -57,13 +57,13 @@ void setup()
5757
* Watchdog::TIMEOUT_4000MS
5858
* Watchdog::TIMEOUT_8000MS
5959

60-
##Prevent Timeout
60+
## Prevent Timeout
6161

6262
```cpp
6363
// Call resetTimer before timeout duration expires. Repeat.
6464
watchdog.resetTimer();
6565
```
6666

67-
##Install Library Dependencies
67+
## Install Library Dependencies
6868

6969
[arduino-libraries](https://github.com/janelia-arduino/arduino-libraries)

examples/WatchdogTester/WatchdogTester.ino

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
#else
44
#include "WProgram.h"
55
#endif
6-
#include "SPI.h"
76
#include "Streaming.h"
87
#include "Watchdog.h"
98

10-
const int BAUDRATE = 9600;
9+
const int BAUDRATE = 115200;
1110
const int LOOP_DELAY_MORE = 300;
1211
const int LOOP_DELAY_LESS = 200;
1312

0 commit comments

Comments
 (0)