For the Project Lab boards, you can avoid looking at the documentation for which processor pins connect to the connectors by using the ProjectLab library. That gives you convenience properties for all of the connectors on the board and maps the pins for you. So in your case, you could use something like the following for your encoder (evidently RUclips doesn't allow markdown): projectLab = ProjectLab.Create(); rotaryEncoder = new RotaryEncoder(projectLab.GroveDigital.Pins.D0, projectLab.GroveDigital.Pins.D1);
For the Project Lab boards, you can avoid looking at the documentation for which processor pins connect to the connectors by using the ProjectLab library. That gives you convenience properties for all of the connectors on the board and maps the pins for you. So in your case, you could use something like the following for your encoder (evidently RUclips doesn't allow markdown):
projectLab = ProjectLab.Create();
rotaryEncoder = new RotaryEncoder(projectLab.GroveDigital.Pins.D0, projectLab.GroveDigital.Pins.D1);
Thanks for the tip Chris. That indeed makes the experience even waaaaay better!
@@oblochooo