mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-05-19 02:51:47 +02:00
Update comments for clarification
This commit is contained in:
parent
064ed959c7
commit
0d7fcf477c
@ -11,7 +11,7 @@ Dezibot dezibot;
|
||||
#define RXD_HEADER 16
|
||||
#define TXD_HEADER 17
|
||||
|
||||
// Task for running through LED brightness levels
|
||||
// Task for independently toggling the bottom IR LED
|
||||
void powerChange(void *pvParameters) {
|
||||
while (true) {
|
||||
dezibot.infraredLight.bottom.turnOn();
|
||||
@ -21,7 +21,7 @@ void powerChange(void *pvParameters) {
|
||||
}
|
||||
}
|
||||
|
||||
// Task for running through LED brightness levels
|
||||
// Tast for independently toggling the front IR LED
|
||||
void powerChange2(void *pvParameters) {
|
||||
while (true) {
|
||||
dezibot.infraredLight.front.turnOn();
|
||||
|
@ -11,25 +11,25 @@ Dezibot dezibot;
|
||||
#define RXD_HEADER 16
|
||||
#define TXD_HEADER 17
|
||||
|
||||
// Task for running through LED brightness levels
|
||||
// Task for independently toggling the bottom IR LED
|
||||
void powerChange(void *pvParameters) {
|
||||
while (true) {
|
||||
dezibot.infraredLight.bottom.turnOn();
|
||||
delay(1000);
|
||||
dezibot.infraredLight.bottom.turnOff();
|
||||
delay(1000);
|
||||
while (true) {
|
||||
dezibot.infraredLight.bottom.turnOn();
|
||||
delay(1000);
|
||||
dezibot.infraredLight.bottom.turnOff();
|
||||
delay(1000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Task for running through LED brightness levels
|
||||
void powerChange2(void *pvParameters) {
|
||||
while (true) {
|
||||
dezibot.infraredLight.front.turnOn();
|
||||
delay(1000);
|
||||
dezibot.infraredLight.front.turnOff();
|
||||
delay(1000);
|
||||
|
||||
// Tast for independently toggling the front IR LED
|
||||
void powerChange2(void *pvParameters) {
|
||||
while (true) {
|
||||
dezibot.infraredLight.front.turnOn();
|
||||
delay(1000);
|
||||
dezibot.infraredLight.front.turnOff();
|
||||
delay(1000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void setup() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user