Add code to calculate feed time based on pots - still needs testing.
Fix pot code to work (need to use uint16_t because uint8_t is too small).