Closed computer-whisperer closed 9 years ago
Not sure. Check the java implementation to see. I'll look at this later tonight too.
The Java implementation does appear to allow just one channel argument https://github.com/frc1418/wpilib/blob/master/wpilibj/wpilibJavaDevices/src/main/java/edu/wpi/first/wpilibj/Counter.java
When initializing a Counter object, it seems to be unable to accept just one channel for an argument. Attempting to do so results in a ValueError:
Is this behavior intentional? If so, it seems odd for you to be unable to use the counter on a single port.