You are not logged in.

#1 2017-04-21 16:47:15

ionel.ciobanuc
Member
Registered: 2016-10-24
Posts: 21
Website

Add GPIO21

Hello,
You can add pins38 (GPIO20) and pin40 (GPIO21) in the future.
My electronics uses these pins.
We have now changed to setup_config.html and configure the pins before the printer starts.
If I update, I need to restore the changes.

Thank you.
Nfbmm1EStbYTMa7gXScCtI05QGPu5e-A67BEcnaFYvBivnSd8e525avjL1CKQP7tWeQ17934=w874

Offline

#2 2017-04-21 18:27:52

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Add GPIO21

As you know some of the GPIOs reserved for SPI like interfaces. To use them, it requires to blacklist and disable some functionality which is difficult and hard to explain to users.

The upgrades would not change GPIO pins, only when submit data on setup page it will get overwritten,.

Offline

#3 2017-12-30 17:53:20

archy587
Member
Registered: 2017-02-18
Posts: 9

Re: Add GPIO21

hello ionel.ciobanuc ,

can you please share how to edit setup_config.html in order to manually change pins used.

I already soldered my servo to GPIO to pin 21 before I realized it wasn't an option in the dropdown menu..

thanks!

Offline

#4 2018-01-03 18:31:43

ionel.ciobanuc
Member
Registered: 2016-10-24
Posts: 21
Website

Re: Add GPIO21

1.Open with notepad templates\setup\setup-config.html
2. find '    <option value="37" {% if default==37 %}selected{% endif %}>Physical 37, BCM 26</option>"
3. add a new line with the new settings ex;<option value="40" {% if default==40 %}selected{% endif %}>Physical 40, BCM 21</option>"
4. save.

Offline

#5 2018-01-04 23:20:17

archy587
Member
Registered: 2017-02-18
Posts: 9

Re: Add GPIO21

awesome! thanks!

Offline

Board footer

Powered by FluxBB