|
LevelMeter-Display
2.0
An ultrasonic Level Meter for Stormwater Cisterns
|
Provides inline Functions for controlling the LEDs. More...

Go to the source code of this file.
Macros | |
| #define | LEDBLUEMASK 0b10000000 |
| #define | LEDGREENMASK 0b01000000 |
| #define | LEDPORT PORTA |
| #define | LEDREDMASK 0b00010000 |
| #define | LEDYELLOWMASK 0b00100000 |
Functions | |
| static void | LEDBlueOff (void) |
| Switches the blue LED off. More... | |
| static void | LEDBlueOn (void) |
| Switches the blue LED on. More... | |
| static void | LEDGreenOff (void) |
| Switches the green LED off. More... | |
| static void | LEDGreenOn (void) |
| Switches the green LED on. More... | |
| static void | LEDRedOff (void) |
| Switches the red LED off. More... | |
| static void | LEDRedOn (void) |
| Switches the red LED on. More... | |
| static void | LEDYellowOff (void) |
| Switches the yellow LED off. More... | |
| static void | LEDYellowOn (void) |
| Switches the yellow LED on. More... | |
Provides inline Functions for controlling the LEDs.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Current LED usage:
| RED | On during ADC Interrupt |
| YELLOW | On during timer0 interrupt |
| GREEN | On during Sleep in the main loop. A bright green LED means we have reserves in computing time! |
| BLUE | Mirror of the DCF77 receive signal. Helpfull for placing and orienting the receiver. |
| #define LEDBLUEMASK 0b10000000 |
| #define LEDGREENMASK 0b01000000 |
| #define LEDPORT PORTA |
| #define LEDREDMASK 0b00010000 |
| #define LEDYELLOWMASK 0b00100000 |
|
inlinestatic |
Switches the blue LED off.
References LEDBLUEMASK, and LEDPORT.
Referenced by FTest(), and GetPinState().

|
inlinestatic |
Switches the blue LED on.
References LEDBLUEMASK, and LEDPORT.
Referenced by FTest(), and GetPinState().

|
inlinestatic |
Switches the green LED off.
References LEDGREENMASK, and LEDPORT.
Referenced by FTest(), and main().

|
inlinestatic |
Switches the green LED on.
References LEDGREENMASK, and LEDPORT.
Referenced by FTest(), and main().

|
inlinestatic |
Switches the red LED off.
References LEDPORT, and LEDREDMASK.
Referenced by FTest(), and ISR().

|
inlinestatic |
Switches the red LED on.
References LEDPORT, and LEDREDMASK.
Referenced by FTest(), and ISR().

|
inlinestatic |
Switches the yellow LED off.
References LEDPORT, and LEDYELLOWMASK.
Referenced by FTest(), and ISR().

|
inlinestatic |
Switches the yellow LED on.
References LEDPORT, and LEDYELLOWMASK.
Referenced by FTest(), and ISR().

1.8.15