Hello, everyone!
I've built the 50$ robot and everything seems to work fine, except for the fact that i must've gotten the most insensitive photoresistors available. The problem with that is that the integer type under which sensor_left and sensor_right are declared in the source code isn't enough to make a difference, since whatever minute decimal difference there might be between the two readings, is truncated along the way.
So i was wondering if anyone could help me out with a conversion to a float type instead of int. I'm guessing the a2dConvert8bit is responsible for the straight-to-integer conversion, since there's no explicit cast to int, so if anyone could tell me what I could replace that with in order to get a more precise reading, I'd greatly appreciate it.
Thank you in advance