How do I connect buttons to the device with out resistors. The diagram that I saw said that I needed the resistor.