#include <Servo.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2);
int potpin [2] = {A0, A1};
int Lig [2] = {11, 8};
int dLig [2] = {10, 9};
int vol;
int niv;
void setup() {
lcd.begin(16,2);
DDRC = 11111100;
DDRB = 001111;
}
void loop() {
lcd.setCursor(0, 0);
vol = analogRead(potpin[0]);
vol = map(vol, 0, 1023, 0, 100);
lcd.print("Volume:");
lcd.print(vol);
lcd.print("m3 ");
delay(400);
lcd.setCursor(0, 1);
niv = analogRead(potpin[1]);
niv = map(niv, 0, 1023, 0, 100);
lcd.print("Nivel:");
lcd.print(niv);
lcd.print("% ");
delay(400);
if()
servo1.write(179)
}