Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
int fudge_factor=10;//left pr is whack, 10 points too lowleft_photoresistor = adc(0) + fudge_factor;//read value and fudge it upeat_fudge();//mmmm, robots like to eat fudge!
So lets say the left photoresistor reads 10 points lower than the right even in the same exact light.This means the left pr needs some fudging . . .Code: [Select]int fudge_factor=10;//left pr is whack, 10 points too lowleft_photoresistor = adc(0) + fudge_factor;//read value and fudge it upeat_fudge();//mmmm, robots like to eat fudge!