Update to functional firmware code

- Remove cylinder count support
- Correct LED output polarity (it's active low)
- Ensure that RPM calculation only occurs on a rising edge
- Adjust LED activation points