Go Down

Topic: Hamlin 59630 (Read 212 times) previous topic - next topic


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!


Jan 16, 2019, 01:14 am Last Edit: Jan 16, 2019, 01:16 am by outsider
Assuming you mean a float switch, connect one switch wire to GND, the other to a digital input pin, lets say pin 4,
Code: [Select]

void setup()
void loop()
  digitalWrite(LED_BUILTIN, digitalRead(4));

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


 :) Super Thanks a lot

Go Up