Search  
Sunday, November 23, 2008 ..:: Forum ::.. Register  Login
 HomePage Minimize

 Print   

 Products Minimize

 Print   

 MSRS Minimize

 Print   

      
 RoboticsConnection Forum Minimize
SearchForum Home
  Discussions  Serializer Robot Controller  Example code fr...
 Example code from .net PWM motor
 
 3/11/2008 12:08:46 AM
FrankBB
4 posts


Example code from .net PWM motor
I tried to run the Example Source Code from the Serializer Library Documentation  for the C# Example code to control a DC motor using Pulse Width Modulation:

I get an error for both of the calls to the go function:

                go(50);
                Thread.Sleep(1000);
                go(-50);
                Thread.Sleep(1000);


Error    2    An object reference is required for the non-static field, method, or property 'test.Program.go(int)'    C:\Users\frankbb\Documents\Visual Studio 2008\Projects\ConsoleApplication6\ConsoleApplication6\Program.cs    35    17    ConsoleApplication6




  Discussions  Serializer Robot Controller  Example code fr...

SearchSearch  Forum HomeForum Home    Print   

Copyright 2004-2007 Summerour Robotics Corp   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by DotNetNuke Corporation