|
@@ -326,7 +326,7 @@ byte HSA_LCD_Shield::returnAddress(void){
|
|
|
|
|
|
//////////////////// Control LEDs ////////////////////
|
|
|
|
|
|
-bool HSA_LCD_Shield::controlLED(char ledPin, bool state) {
|
|
|
+bool HSA_LCD_Shield::controlLED(byte ledPin, bool state) {
|
|
|
|
|
|
// Checks, whether LED-Pins are configured
|
|
|
if(this->__leds) {
|
|
@@ -351,7 +351,7 @@ bool HSA_LCD_Shield::controlLED(char ledPin, bool state) {
|
|
|
|
|
|
//////////////////// Get LED state ////////////////////
|
|
|
|
|
|
-bool HSA_LCD_Shield::getLED(char ledPin) {
|
|
|
+bool HSA_LCD_Shield::getLED(byte ledPin) {
|
|
|
|
|
|
// Exit function and return the value of chosen LED
|
|
|
if(ledPin == LED_GREEN) return !digitalRead(this->__ledGreen);
|