Created
June 15, 2013 07:47
-
-
Save gabonator/5787308 to your computer and use it in GitHub Desktop.
toromod servo servo multi channel quick and dirty remote control application, including USB driver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #1P900T500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #1P2200T500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| if ( $_SERVER["QUERY_STRING"] != "" ) | |
| { | |
| file_put_contents("msg", $_SERVER["QUERY_STRING"]); | |
| echo("saved."); | |
| die(); | |
| } | |
| if ( file_exists("msg") ) | |
| { | |
| require "msg"; | |
| unlink("msg"); | |
| } | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cscript test.vbs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set objShell = CreateObject("WScript.Shell") | |
| url = "http://pub.valky.eu/rms/" | |
| while true | |
| Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") | |
| xmlhttp.open "GET", url, 0 | |
| xmlhttp.send "" | |
| response = xmlhttp.responseText | |
| Set xmlhttp = Nothing | |
| wscript.echo "Resp:" & response | |
| if response="do" then | |
| objShell.Exec("cmd /c type cm1.txt > COM3") | |
| Wscript.Sleep 500 | |
| objShell.Exec("cmd /c type cm2.txt > COM3") | |
| end if | |
| Wscript.Sleep 500 | |
| wend |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;------------------------------------------------------------------------------ | |
| ; TOROBOT Comunication Device Class driver (CDC) INF FILE | |
| ; (C)2011 Copyright TOROBOT | |
| ; http://www.torobot.com | |
| ;------------------------------------------------------------------------------ | |
| [Version] | |
| Signature="$Windows NT$" | |
| Class=Ports | |
| ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} | |
| Provider=%PRVDR% | |
| CatalogFile=stmcdc.cat | |
| DriverVer=12/15/2012,1.9.1 | |
| [SourceDisksNames] | |
| 1=%DriversDisk%,,, | |
| [SourceDisksFiles] | |
| [Manufacturer] | |
| %MFGNAME%=DeviceList,NT,NTamd64 | |
| [DestinationDirs] | |
| DefaultDestDir = 12 | |
| ;------------------------------------------------------------------------------ | |
| ; VID/PID Settings | |
| ;------------------------------------------------------------------------------ | |
| [DeviceList.NT] | |
| %DESCRIPTION%=DriverInstall,USB\VID_0483&PID_5740 | |
| %DESCRIPTION%=DriverInstall,USB\VID_1208&PID_0815 | |
| [DeviceList.NTamd64] | |
| %DESCRIPTION%=DriverInstall,USB\VID_0483&PID_5740 | |
| %DESCRIPTION%=DriverInstall,USB\VID_1208&PID_0815 | |
| [DriverInstall.NT] | |
| Include=mdmcpq.inf | |
| CopyFiles=FakeModemCopyFileSection | |
| AddReg=DriverInstall.NT.AddReg | |
| [DriverInstall.NT.AddReg] | |
| HKR,,DevLoader,,*ntkern | |
| HKR,,NTMPDriver,,usbser.sys | |
| HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" | |
| [DriverInstall.NT.Services] | |
| AddService=usbser, 0x00000002, DriverServiceInst | |
| [DriverServiceInst] | |
| DisplayName=%SERVICE% | |
| ServiceType = 1 ; SERVICE_KERNEL_DRIVER | |
| StartType = 3 ; SERVICE_DEMAND_START | |
| ErrorControl = 1 ; SERVICE_ERROR_NORMAL | |
| ServiceBinary= %12%\usbser.sys | |
| LoadOrderGroup = Base | |
| ;------------------------------------------------------------------------------ | |
| ; String Definitions | |
| ;------------------------------------------------------------------------------ | |
| [Strings] | |
| PRVDR = "TOROBOT" | |
| MFGNAME = "TOROBOT." | |
| DESCRIPTION = "mini USB servo controler" | |
| SERVICE = "USC Virtual COM Port" | |
| DriversDisk = "TOROBOT Drivers Disk" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment