Remove trailing whitespace

This commit is contained in:
Philipp Matthias Schaefer 2020-02-02 20:17:00 +01:00
parent 28ce0e8963
commit 760a9d1a44

View file

@ -11,7 +11,7 @@
void setup(){ void setup(){
Serial.begin(9600); Serial.begin(9600);
pinMode(IR_INPUT_PIN, INPUT); pinMode(IR_INPUT_PIN, INPUT);
pinMode(space_status_red_PIN, OUTPUT); pinMode(space_status_red_PIN, OUTPUT);
@ -28,15 +28,15 @@ int delay_time = 1000;
void loop(){ void loop(){
int pin_status = 0; int pin_status = 0;
pin_status = digitalRead(IR_INPUT_PIN); pin_status = digitalRead(IR_INPUT_PIN);
Serial.print(" "); Serial.print(" ");
Serial.print(space_status_b4); Serial.print(space_status_b4);
Serial.print(" "); Serial.print(" ");
Serial.println(space_status); Serial.println(space_status);
delay(delay_time); delay(delay_time);
// pin check of the reed sensor and low pass filter // pin check of the reed sensor and low pass filter
if (pin_status == 0){ if (pin_status == 0){
@ -49,7 +49,7 @@ void loop(){
} }
} }
// status check if we can switch the status. // status check if we can switch the status.
// low pass prevents waggling a bit // low pass prevents waggling a bit
if (space_status >= threshold-3) { if (space_status >= threshold-3) {