Open Maayan-Luzon opened 5 months ago
Now we have proximity sensor on this system. It will tell us whether we collected note or not. How can we access its value?
DigitalInput in = new DigitalInput(0);
boolean on = in.get();
Add the DigitalInput as an attribute in the intake class and a method which returns whether we collected note or not. Make sure it functions by using the shuffleboard.
The system:
Action: