Flash3388 / Flash2024

0 stars 0 forks source link

Create Intake System #17

Open Maayan-Luzon opened 5 months ago

Maayan-Luzon commented 5 months ago

The system:

Action:

Maayan-Luzon commented 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.