Skip to content

Commit c222529

Browse files
authored
Merge pull request #106 from balaji303/patch-1
Added Comments for xTaskCreate function
2 parents 39c99a6 + 8bdf6b6 commit c222529

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/AnalogRead_DigitalRead/AnalogRead_DigitalRead.ino

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ void setup() {
3434
TaskDigitalRead
3535
, "DigitalRead" // A name just for humans
3636
, 128 // This stack size can be checked & adjusted by reading the Stack Highwater
37-
, NULL
37+
, NULL //Parameters for the task
3838
, 2 // Priority, with 3 (configMAX_PRIORITIES - 1) being the highest, and 0 being the lowest.
39-
, NULL );
39+
, NULL ); //Task Handle
4040

4141
xTaskCreate(
4242
TaskAnalogRead
43-
, "AnalogRead"
43+
, "AnalogRead" // A name just for humans
4444
, 128 // Stack size
45-
, NULL
45+
, NULL //Parameters for the task
4646
, 1 // Priority
47-
, NULL );
47+
, NULL ); //Task Handle
4848

4949
// Now the Task scheduler, which takes over control of scheduling individual Tasks, is automatically started.
5050
}

0 commit comments

Comments
 (0)