![]() Also, you might need to change the const char * device line in the code that specifies what serial port to connect to. The Jrk’s input mode should be set to “Serial / I2C / USB”, or else the “Set target” command will not work. For a very similar example that only works on Windows, see Section 15.6. It demonstrates how to set the target of the Jrk by sending a “Set target” command and how to read variables using a “Get variables” command. The example C code below uses parts of the POSIX API provided by Linux and macOS to communicate with a Jrk G2 via serial.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |