# Encoders Library for Arduino WiFi Rev 2 (R2)

**URL:** https://forum.pololu.com/t/encoders-library-for-arduino-wifi-rev-2-r2/21850
**Category:** Motor controllers/drivers and motors
**Created:** [July 30, 2021, 6:00pm UTC](https://forum.pololu.com/t/encoders-library-for-arduino-wifi-rev-2-r2/21850 "2021-07-30T18:00:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![swabygw](https://forum.pololu.com/letter_avatar_proxy/v4/letter/s/e47774/32.png) [@swabygw](https://forum.pololu.com/u/swabygw)
#### Post date: [July 30, 2021, 6:00pm UTC](https://forum.pololu.com/t/encoders-library-for-arduino-wifi-rev-2-r2/21850/1 "2021-07-30T18:00:13Z")

</div>

Hello - I have been using the PololuWheelEncoders library with my Arduino Uno and it worked fine. I recently purchased an Arduino WiFi Rev 2 (R2) and the same exact program won’t compile because it doesn’t like the PololuWheelEncoders library (many errors due to many differences in chip(s)/pin(s), etc.). Is there a version of the library available for the Arduino WiFi Rev 2 (R2)?

---

<div class="post-metadata">

### Author: ![Claire](https://forum.pololu.com/user_avatar/forum.pololu.com/claire/32/461_2.png) [@Claire](https://forum.pololu.com/u/Claire)
#### Post date: [August 2, 2021, 6:38pm UTC](https://forum.pololu.com/t/encoders-library-for-arduino-wifi-rev-2-r2/21850/2 "2021-08-02T18:38:03Z")

</div>

Hi.

Unfortunately, we do not have a version of that library for the Arduino Wifi Rev 2. In general, that is a library for our old Orangutan robot controllers that was not really intended for general use, so I recommend trying a library from the Arduino rotary encoder reference page:

[https://playground.arduino.cc/Main/RotaryEncoders/](https://playground.arduino.cc/Main/RotaryEncoders/)

-Claire
