GSD Doc: Difference between revisions
Appearance
Rwilson131 (talk | contribs) mNo edit summary |
AHagerty93 (talk | contribs) m None |
||
| Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
[[Category:Programmer's Guide]] | [[Category:Programmer's Guide]] | ||
On the Device Template, add the command group 'Internal Ruby Commands'. | On the Device Template, add the command group 'Internal Ruby Commands'. Choose 'Advanced, Devices' from the menu, and select the PC on which you want to run your device--whatever PC the external hardware is connected to. Choose 'Create child device', and add an instance <span class="plainlinks">[http://www.thepiggybackrider.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;/*CITATION*/">kid carrier</span>]</span> of your new device template. Choose 'Wizard, Devices, Generic Serial Device' from the menu, select your device, and choose 'Edit Ruby Code'. Fill in the blanks for implementing each command, and also for how to handle incoming data, process idle messages and so on. | ||
The documentation for how to do this with GSD is here (todo) | The documentation for how to do this with GSD is here (todo) | ||
Revision as of 08:12, 27 September 2011
| This article is a stub and requires expansion |
On the Device Template, add the command group 'Internal Ruby Commands'. Choose 'Advanced, Devices' from the menu, and select the PC on which you want to run your device--whatever PC the external hardware is connected to. Choose 'Create child device', and add an instance kid carrier of your new device template. Choose 'Wizard, Devices, Generic Serial Device' from the menu, select your device, and choose 'Edit Ruby Code'. Fill in the blanks for implementing each command, and also for how to handle incoming data, process idle messages and so on.
The documentation for how to do this with GSD is here (todo)