Wiki Sandbox

Main.WikiSandbox History

Hide minor edits - Show changes to markup

Added lines 4-5:
 pmwiki-2.2.43
Changed lines 11-12 from:
to:
Changed lines 15-16 from:
  GroupLab.SharedPhidgets.ConnectionManager connectionManager = 
    new GroupLab.SharedPhidgets.ConnectionManager();
to:
  GroupLab.SharedPhidgets.ConnectionManager connectionManager = new GroupLab.SharedPhidgets.ConnectionManager();
Changed lines 17-18 from:
  connectionManager.SharedDictionaryURL = "tcp://136.159.7.93:sp";
to:
  connectionManager.SharedDictionaryURL = "tcp://136.159.xx.xx:sp";
Changed lines 14-15 from:

public Form1() {

to:

public Form1() {

Changed lines 14-27 from:
		public Form1() 
		{
			GroupLab.SharedPhidgets.ConnectionManager connectionManager = new GroupLab.SharedPhidgets.ConnectionManager();
			connectionManager.SharedDictionaryURL = "tcp://136.159.7.93:sp";

			GroupLab.SharedPhidgets.Servo servo = new GroupLab.SharedPhidgets.Servo();
			servo.FilterLocations.Add("Math Science 671");

			GroupLab.SharedPhidgets.ServoSkin servoSkin = new GroupLab.SharedPhidgets.ServoSkin();
			servoSkin.Servo = servo;

			servoSkin.Dock = System.Windows.Forms.DockStyle.Fill;
			this.Controls.Add(servoSkin);
		}
to:

public Form1() {

  GroupLab.SharedPhidgets.ConnectionManager connectionManager = 
    new GroupLab.SharedPhidgets.ConnectionManager();
  connectionManager.SharedDictionaryURL = "tcp://136.159.7.93:sp";

  GroupLab.SharedPhidgets.Servo servo = new GroupLab.SharedPhidgets.Servo();
  servo.FilterLocations.Add("Math Science 671");

  GroupLab.SharedPhidgets.ServoSkin servoSkin = new GroupLab.SharedPhidgets.ServoSkin();
  servoSkin.Servo = servo;

  servoSkin.Dock = System.Windows.Forms.DockStyle.Fill;
  this.Controls.Add(servoSkin);

}

Changed lines 13-14 from:

(:source lang=csharp tabwidth=2 :) [=

		private void motorTrackBar_Scroll(object sender, System.EventArgs e)
to:

(:source lang=csharp tabwidth=2 linenum=1 :) [=

		public Form1() 
Changed lines 16-25 from:
			if( (this.motorTrackBars != null) && (this.servo != null) && (this.servo.Motors != null) )
			{
				for(int i=0; i < this.motorTrackBars.Length; i++)
				{
					if(sender == this.motorTrackBars[i])
					{
						this.servo.Motors[i].Position = this.motorTrackBars[i].Value;
					}
				}
			}
to:
			GroupLab.SharedPhidgets.ConnectionManager connectionManager = new GroupLab.SharedPhidgets.ConnectionManager();
			connectionManager.SharedDictionaryURL = "tcp://136.159.7.93:sp";

			GroupLab.SharedPhidgets.Servo servo = new GroupLab.SharedPhidgets.Servo();
			servo.FilterLocations.Add("Math Science 671");

			GroupLab.SharedPhidgets.ServoSkin servoSkin = new GroupLab.SharedPhidgets.ServoSkin();
			servoSkin.Servo = servo;

			servoSkin.Dock = System.Windows.Forms.DockStyle.Fill;
			this.Controls.Add(servoSkin);
Changed line 13 from:

(:source lang=csharp linenum=1 tabwidth=2 :) [=

to:

(:source lang=csharp tabwidth=2 :) [=

Changed line 13 from:

(:source lang=C# linenum=1 tabwidth=2 :) [=

to:

(:source lang=csharp linenum=1 tabwidth=2 :) [=

Added lines 9-27:

(:source lang=C# linenum=1 tabwidth=2 :) private void motorTrackBar_Scroll(object sender, System.EventArgs e) { if( (this.motorTrackBars != null) && (this.servo != null) && (this.servo.Motors != null) ) { for(int i=0; i < this.motorTrackBars.Length; i++) { if(sender == this.motorTrackBars[i]) { this.servo.Motors[i].Position = this.motorTrackBars[i].Value; } } } }

Added lines 3-4: