Hi, guys, I am doing a line following robot project and recently I replaced my Uno by a Mega board but I found the line following module wont work anymore.
This is the link for my line following module:
https://www.sunfounder.com/wiki/index.php?title=Line_Follower_Module
The wiring and program are not changed but when a Mega board is used, I can only receive 0 as the sensor value. So do I need to change the address of LF module or any other code?