Hamlin 59630

I have problem communication or getting relevant values from an Hamlin 59630. Tried both did readAnalog() and readDigital(). Yes Im a beginner! Happy to receive suggestions!

Assuming you mean a float switch, connect one switch wire to GND, the other to a digital input pin, lets say pin 4,

void setup()
{
  pinMode(4,INPUT_PULLUP);
  pinMode(LED_BUILTIN,OUTPUT);
}
void loop()
{
  digitalWrite(LED_BUILTIN, digitalRead(4));
}

The onboard LED should switch ON / OFF when you move the float.

:slight_smile: Super Thanks a lot