taylorchasewhite / vocatus

The free-flowin', home-growin', god of liquor
1 stars 0 forks source link

Problem when flow meter gets stuck in closed circuit #104

Open taylorchasewhite opened 6 years ago

taylorchasewhite commented 6 years ago

Describe the bug When the flow meter is stuck on a closed circuit, and you have the Arduino set to display via LCD (haven't yet verified other methods), the count goes up when you cycle display modes.

To Reproduce Steps to reproduce the behavior:

  1. Wire output of flow meter to light up an LCD in addition to feeding the input of the Arduino 2 pin.
  2. Trigger the flow meter repeatedly, and stop. If the LCD stays on, then you are have set the hardware up appropriately to hit this bug.
  3. Now log the current number of drinks on the Lifetime view.
  4. Hit the cycle button.
  5. The count will go up to 14. It will also change the fastest time to be 0 ms.

Expected behavior We should not increment or count a drink if the count is indicating.

Additional context I assume this is something we will investigate in the Flow function.

stephenlago commented 6 years ago

Do you mean LED in the setup instructions?