Revision 1985
Fixed barcodes first read problem.
Barcodes used to always read gray for the first bit, but this problem is now fixed by better initializiation in lineFollow init.
lineFollow.h | ||
---|---|---|
54 | 54 |
int mergeLeft(void); |
55 | 55 |
int mergeRight(void); |
56 | 56 |
|
57 |
void addToBuckets(int curColor, int i); |
|
58 |
void printBuckets(); |
|
59 |
|
|
57 | 60 |
/** |
58 | 61 |
* @brief Updates the values stored in the array to white or black based on |
59 | 62 |
* current sensor readings. |
Also available in: Unified diff