Flow Breakout Initialization
Posted: Thu May 17, 2018 12:24 am
I've been using the Flow Breakout board for an FRC (FIRST Robotics Competition) robot design. We are only using the PMW3901 motion sensor in a fixed height above the ground; we aren't using the distance sensor. We had some early issues with readings, and during troubleshooting I noticed that the initialization code for Breakout is slightly different that what is used on the Flow Deck for the Crazyflie. Since the data sheet for the PMW3901 is quite limited, I can't tell if the differences are consequential or not, nor which version is optimal for the Breakout board. I've attached a word document showing the differences. The column on the left is copied from the Arduino library for the PMW3901 on github/bitcraze. The column on the right is copied from the Crazyflie-firmware library at github crazyflie-firmware/src/drivers/src/pmw3901.c. I've highlighted the differences in yellow (I hope it shows up on your copy).
Can anyone explain the differences, and whether they are significant to our use case? Thanks for your attention to this.
Can anyone explain the differences, and whether they are significant to our use case? Thanks for your attention to this.