Интегрируем LCD2004 в ядро

This commit is contained in:
2022-01-05 18:01:20 +03:00
parent d78907d854
commit 9f733a1535
5 changed files with 24 additions and 7 deletions

View File

@@ -26,11 +26,11 @@ void SensorLCD2004::loop() {
difference = currentMillis - prevMillis;
if (difference >= _interval) {
prevMillis = millis();
readLCD2004();
writeLCD2004();
}
}
void SensorLCD2004::readLCD2004() {
void SensorLCD2004::writeLCD2004() {
//if (_addr == "") {
// sensors->getAddress(deviceAddress, _index);
//} else {
@@ -49,7 +49,7 @@ void SensorLCD2004::readLCD2004() {
MySensorLCD2004Vector* mySensorLCD20042 = nullptr;
void LCD2004() {
void lcd2004() {
myLineParsing.update();
String interval = myLineParsing.gint();
String pin = myLineParsing.gpin();