You have two files, nightcrawler.h and .cpp. Copy them to something like myrotator.h and .cpp
In INDI CMakelists.txt, search for the nightcrawler section where it builds the executable. Just copy it and change the the source files and the executable (e.g. indi_myrotator_rotator). Also, edit drivers.xml and add an entry there for your rotator.
I have a question, would it not be easier to take the Pyxis driver which is only for a rotator and adapt the arduino code of the nightcrawler to the Pyxis driver or is it not possible?
Unless I find the Pyxis arduino code, but for the moment I haven't found anything.
I'm coming back to you because I would like to have some help to get Pyxis to control an arduino vode that we made.
I would like to know the command syntaxes to give the angle displacement and the gohome.
And I would like to know what it takes for pyxis to recognize and connect to our arduino.
Thank you very much for your help.
I'm putting you the Pyxis driver doc, it's in chapter 4.
I'm not sure if this is a good idea, but I'm sure it will be.
I would like to know if there is a way to make my arduino code recognized by the Pyxis driver so that it can recognize the commands that the Pyxis driver sends.
I need the gohome and the angle command
of the rotator