Quantcast
Channel: Recent Topics - INDI Forum
Viewing all articles
Browse latest Browse all 14131

Changing GPIO assignment for Astroberry Focuser - by: HelgeMK

$
0
0
Dear Radek, dear all,

to reducing wiring, I soldered the A4988 on a diy proto HAT, i.e.to plug the board on top of the RPi. To accomodate the sequence of the A4988 pins, I changed the GPIO assignment in the rpi_focus.cpp file. All fine, but I cannot change the resolution as desired (set speed to case 5) - I am targetting 1/8, i.e. M0 = High and M1 = High for the A4988. However, both seem to remain "low" (full step). M0 is assigned to GPIO9 (physical pin 21, MISO) and M1 to GPIO10 (physical pin 19, MOSI).

Could it be that using the MISO / MOSI as output pins is not advisable?

Best wishes for 2018!

Helge

Viewing all articles
Browse latest Browse all 14131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>