====== Android Pin Multiple ====== When implementing a certain input and output that requires GPIO, we found relatively few GPIOs available on the 40-pin or 16-pin connector. To this end, we removed the pins' original functions and enabled GPIO control. In this way, any pins that are not required can be fully utilized to expand more GPIOs. The available GPIOs can be seen in the Docs link.[[https://docs.khadas.com/products/sbc/vim3/applications/gpio/40pin-header|40pin-header]] In the Settings->Device Preferences->Pin Multiple, there is an option called Pin multiple. {{/products:sbc:vim3:applications:pin-multiple.webp?800}} Among the limited available pins, we can set the SPDIF, UART, and 12S groups as GPIOs so they can be used when not in use. The available GPIOs can be seen in the Docs link.[[https://docs.khadas.com/products/sbc/vim1s/applications/gpio/40pin-header|40pin-header]] In the Khadas settings->Pin Multiple, there is an option called Pin multiple. {{/products:sbc:vim1s:hardware:pin-multiple.webp?800}} Among the limited available pins, we can set the UART as GPIOs so they can be used when not in use. The available GPIOs can be seen in the Docs link.[[https://docs.khadas.com/products/sbc/vim4/applications/gpio/40pin-header|40pin-header]] In the Khadas settings->Pin Multiple, there is an option called Pin multiple. {{/products:sbc:vim4:applications:gpio:pin-multiple.webp?800}} Among the limited available pins, we can set the SPDIF, UART, PWM_F, and 12S groups as GPIOs so they can be used when not in use. The available GPIOs can be seen in the Docs link.[[https://docs.khadas.com/products/sbc/edge2/applications/gpio/40pin-header|16pin-header]] In the Khadas settings->Pin Multiple, there is an option called Pin multiple. {{/products:sbc:edge2:pin-multiple.webp?800}} Among the limited available pins, we can set the SPI as GPIOs so they can be used when not in use. By default, we have enabled the original function of the corresponding pin. When you need to use it as GPIO, you can turn off its function in the interface, and then restart the device to use the GPIO function of the corresponding pin.