I'm trying to interface an Avago ADNS 9800 optical mouse sensor with a Teensy 3.2 board and program it in Arduino IDE. I'm trying to use the sensor for other applications by using its camera and getting continuous frames over serial port and then converting them into realtime images using MATLAB. The MATLAB code is already completed and tested using dummy data and it works fine. But there are some problems with the Arduino code. The sensor is also capable of determining X and Y position which is already tested and is working. So the communication between the sensor, teensy and the PC is not a problem (hopefully).
I need someone to take a look at an already existing frame capture code and help me figure out what is wrong with it. You don't need to buy the hardware. I'm available for testing aything you want for at least 10-12 hours a day. We can communicate using teamviewer if necessary. Freelancers who are willing to complete the task early will be given preference. I need it done before 23/09/2017.
Please only write a bid if you're 100% sure about doing the task on time. You will not be paid until everything works fine and on time. Also, if the code is fine, other solutions should be suggested by you.
Take a look at these to get an idea of what the code is going to be like:
XY position code : [url removed, login to view]
Frame Capture code : [url removed, login to view]
Sensor : [url removed, login to view]
Teensy 3.2 : [url removed, login to view]
Also see the datasheet attached with this project.