sorry to be away for so long but many nice things happened (a daughter and a new job) and I didn't have time to work on the project. I will create a git repository and upload the latest set of files ASAP then post here the link.
Hello topaz, francesco and Jasem
I am also trying to get my head around this topic. I am using the Arduino-ST4 for guiding, but would like to use it to move the telescope by pressing buttons...
I have successfully done that under Windows, but would like to make the step to Linux in order to be able to put eveything on an Raspi. I am working i to achieve what Franceso was trying (and maybe he succeded in) to allow slewing of the telescope by giving it permanent guiding pulses (=pressing a N/S/E/W button on screen). GoTo is yet another step after that...
So, if you have made any progress here, please share it - it would help me on my learning curve.
Hi, I have modified original indi driver. It is very ugly and lot of trash but GoTo, parking and moving by buttons works.
I don't use ST-4 because my Arduino controls 2 stepper motors via A4988 and LD293 shield, so I can send command with number of steps instead of time.
But because my firmwire is drived from Kevin Ferrare ST4 driver for ascom and indi so you can modifiy it to use with ST4. (Commands for guiding are the same)
that was fast! I use a very similar setup, also coming from Kevin Ferrare so I also have Arduino and A4988 drivers. I will look into your code - not that I could do it any better anyhow...
Thank you very much. That helps!!!
Have a great day
There is a lot of not needed stuff in this code. It is my first try in prgramming, so apologies for such a mess.
You can delete all references to ardust4driver, it is leftover from my first try to make it connect to arduino, If i have some time, I will try to clean code. and add comments.
I also added lot of buttons to change speed, stepping modes etc. during guiding.
There is something wrong (maybe It is changed by other function in indi?) with PortFD variable, so I created PortFD2 to wich I have access.
Libnova is needed only for parking.