Changed pin assignments and time constants