Pranjal-R-Agrawal/Technoxian_2023_Arduino_Micromouse ? reverse-engineered prompt
Reverse engineered prompt
Build me an Arduino Nano powered micromouse robot that can solve a maze on its own using 5 IR sensors, a TB6612FNG motor driver, and two 600 rpm micro gear motors.
I want the code to handle wall detection, movement control, and maze solving in a way that works for a real small maze robot, not just a toy demo. It should be able to explore the maze, figure out the path, and then run it more efficiently on later passes. If a flood fill style approach makes sense here, use that.
Please keep it practical for the Nano, with simple and reliable logic, and make sure the motor and sensor handling is organized so it is easy to tune. If you need to check current Arduino library details or best practices online, go ahead and look them up.
Also include clear setup notes for wiring, calibration, and how to upload and test it on the robot.
Are you gonna build this?
make sure you review the code using coderabbit