drivers/optical_flow: new PixArt PAA3905 optical flow driver

This commit is contained in:
alexklimaj
2022-04-14 16:47:53 -04:00
committed by Daniel Agar
parent 9a9aad98a1
commit 6e0ac66c3c
10 changed files with 1053 additions and 5 deletions
+10 -4
View File
@@ -83,18 +83,24 @@ then
teraranger start -X
fi
# Possible external pmw3901 optical flow sensor
if param greater -s SENS_EN_PMW3901 0
# paa3905 optical flow sensor (external SPI)
if param greater -s SENS_EN_PAA3905 0
then
pmw3901 -S start
paa3905 -S start
fi
# Possible external paw3902 optical flow sensor
# paw3902 optical flow sensor (external SPI)
if param greater -s SENS_EN_PAW3902 0
then
paw3902 -S start
fi
# pmw3901 optical flow sensor (external SPI)
if param greater -s SENS_EN_PMW3901 0
then
pmw3901 -S start
fi
# Check for px4flow sensor
if param compare -s SENS_EN_PX4FLOW 1
then