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.
Help is greatly appreciated .