
PsionicCylon
USA
Asked
— Edited
I'm building a robot arm controlled by a master with potentiometers. I'm having trouble reading the ADC value from the pot with C#. I keep getting an error that says "Identifier Expected". I'm fairly knowledgeable in C++ and, try as I might, I can't figure out what is wrong. This is the code that causes the error.
Method:EZ_B.ADC.GetADCVoltage(EZ_B.ADC.(ADC0));
Help is greatly appreciated .
Great thing about C# is the syntax completion. As you type and hit the . (period), it will pop-up applicable methods, etc.. Also when you use a ( (bracket) at the end of a method, it'll show you the applicable parameters
I like C# because of that! There is very little C++ left in EZ-Robot... I'm moving away from it entirely
Also, do you know of any good Visual C# tutorials for beginners?
Thanks for the help, your company has the best customer service I've ever seen.