Line 26:
Line 26:
[https://aliexpress.com/item/32975204887.html Buy MCP4728 module]
[https://aliexpress.com/item/32975204887.html Buy MCP4728 module]
+
+
<br clear=all>
+
+
=== Configuring the Zynaptik Module from the Webconf ===
+
+
[[File:Zynthian_webconf_wiring_zynaptik_config.png|600px|right]]
+
+
First, you should choose the right configuration for your zynaptik module depending on the extra modules you have soldered on it:
+
+
* '''16xSWITCH''' => Only MCP23017, use the 16 GPIOs as customizable switches
+
* '''8xSWITCH''' => Only MCP23017, use the 8 GPIOs as customizable switches (Bank A)
+
* '''4xAD''' => Only ADS1115 (use the 4 ADs for Analog Input, obvious)
+
* '''16xSWITCH + 4xAD''' => MCP23017 + ADS1115, use the 16 GPIOs as customizable switches
+
* '''8xSWITCH + 4xAD''' => MCP23017 + ADS1115, use the 8 GPIOs as customizable switches (Bank A)
+
+
After saving, you may want to configure your switches and/or analog inputs.
+
+
=== Configuring Zynaptik Customizable Switches ===
+
+
Simply add the switches pins to the list. Zynaptik MCP23017 pins start at 200. You don't need to add all the 16/8 available switches. If you only want to use 2, simply add "200,201".
+
After saving, you will see that the extra custom switches are available for configuration.
+
+
<br clear=all>
+
+
=== Configuring Zynaptik Analog Input ===
+
+
[[File:Zynthian_webconf_wiring_zynaptik_ad.png|600px|right]]
+
+
Simply configure your analog inputs from the webconf's wiring section in the same way you configure your custom switches.
+
+
<br clear=all>