Hello Meadow World!

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

Комментарии • 3

  • @yoshimaker-iot
    @yoshimaker-iot 5 месяцев назад +10

    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);

    • @obloch
      @obloch  5 месяцев назад +2

      Thanks for the tip Chris. That indeed makes the experience even waaaaay better!

    • @brajeshkumar1104
      @brajeshkumar1104 4 месяца назад

      ​@@oblochooo