Gesture Sensor 9960 / Nano

I’m working on a project with the APDS-9960 Gesture Sensor and have been able to get the basic sketch from the product page to work (https://learn.sparkfun.com/tutorials/ap … 1642430303) as expected using an UNO board.

But when I switch to a Nano (ATMega328) it initializes successfully by giving the following message -


SparkFun APDS-9960 - GestureTest


APDS-9960 initialization complete

Gesture sensor is now running

but does not return any of the gestures (LEFT, RIGHT, UP, DOWN, FAR, NEAR). Is there some nuance with the Nano board I am not able to find online? This is my first project with a Nano - I get the same result with 3 different Nanos…

Thanks

That’s unusual. Have you selected the proper board (Arduino Nano) from the tools? And also the correct baud rate while opening the serial monitor?

I have selected ‘Nano’ in the tools menu and the sketch uploaded without errors. I haven’t changed the Baud rate however, it seems to do that automatically (?) as I have the verbose output while uploading option checked.